Skip to main content

Add a browsable drafts listing to your Pelican website

Project description

Pelican Drafts

Add a browsable drafts listing fr your Pelican website

Requirements

Pelican Drafts works with Pelican 4.2+ and Python 3.7+

Getting started

Install pelican-drafts with pip:

pip install pelican-drafts

And enable the plugin in you pelicanconf.py (or any configuration file you want to use):

PLUGINS = [
    '...',
    'drafts',
    '...',
]

Settings

SHOW_DRAFTS

Wether or not to show the drafts page (default: True, set it to False in your publishconf.py)

DRAFTS_URL

URL on which you can consult the drafts page (default: 'drafts/')

DRAFTS_SAVE_AS

Path to save the drafts page. It should be consistent with the DRAFTS_URL setting (default: 'drafts/index.html')

Theming

Changelog

0.1.1 (2020-03-26)

  • Fix the SHOW_DRAFTS parameter being ignored

0.1.0 (2020-03-26)

  • Nothing Initial release

Project details


Download files

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

Files for pelican-drafts, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size pelican_drafts-0.1.1-py2.py3-none-any.whl (3.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pelican-drafts-0.1.1.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page