Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Add edit URLs to content objects.

Project Description

# pelican-edit-url

Pelican plugin to add an edit URL to content objects.

This plugin assumes that the parent directory of your content directory is your project directory. If you have the code for your site somewhere public (e.g. Github), you can provide links to the source for each piece of content.

## Installation

` pip install pelican-edit-url `

Add the setting to your pelicanconf.py

` EDIT_CONTENT_URL = 'https://github.com/ME/MYCOOLSITE.com/blob/master/{file_path}' `

Put {file_path} wherever the path to the file should go in the url. Once this is done you will have an edit_url property on your page and article objects.

` <a href="{{ article.edit_url }}">edit on github</a> `

Release History

Release History

This version
History Node

0.1.1

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pelican-edit-url-0.1.1.tar.gz (2.7 kB) Copy SHA256 Checksum SHA256 Source Jun 22, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting