Skip to main content

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

Release files for pelican-drafts 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pelican-drafts 0.1.1
File Size Uploaded
pelican-drafts-0.1.1.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pelican-drafts 0.1.1
File Interpreter ABI Platform
pelican_drafts-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 8.2 kB

Release files / pelican-drafts-0.1.1.tar.gz

Download URL pelican-drafts-0.1.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
def73288036a06b8c661791e20d99acf0b88268d0e79e9ada974fb69833ca69d
BLAKE2b-256 checksum
How to use checksums
d6beee690fa9261776ef3b83379a97ffa31b4d13e68d22b1df2baa0e8fa2fd99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

Release files / pelican_drafts-0.1.1-py2.py3-none-any.whl

Download URL pelican_drafts-0.1.1-py2.py3-none-any.whl
Size 3.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
26947205748aceac18875f6ab27d8f7732317bd90fad7bf6a88ebe713a5edc56
BLAKE2b-256 checksum
How to use checksums
307708e12bdf6e4db7e87d44ab6a936971d020994a83e767854b8d72c0e8d61d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page