# 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> `
Metadata
Release files for pelican-edit-url 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pelican-edit-url-0.1.1.tar.gz | 2.7 kB | Without provenance | Details for pelican-edit-url-0.1.1.tar.gz |
Release files / pelican-edit-url-0.1.1.tar.gz
| Download URL | pelican-edit-url-0.1.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a689e9612c44333a458ad8df4083bd41574bfd2821d79dfb43961c06b7caac9
|
|
BLAKE2b-256 checksum How to use checksums |
6e060886ee18f89ecea5d77df6989e579592dec73441f95f691b1d5dda926057
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pelican-edit-url 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.