Metadata-Version: 1.1
Name: pelican-edit-url
Version: 0.1.1
Summary: Add edit URLs to content objects.
Home-page: https://github.com/pmclanahan/pelican-edit-url
Author: Paul McLanahan
Author-email: paul@mclanahan.net
License: MIT
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>
        ```
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
