Skip to main content

A Pyblosxom plugin that lets you save draft posts

Project description

# pyblosxomdrafts

A [PyBlosxom](https://pyblosxom.github.io/) plugin that lets you save draft blog entries.

Any entries with a “drafts” folder anywhere in their path are considered drafts. For example:

entries/drafts/my-draft-post.txt entries/category/sub-category/drafts/another-draft-post.txt entries/drafts/sub-category/yet-another-draft-post.txt

Drafts will be filtered out from all index pages, such as the front page of your blog, category pages, and feeds. But if you visit a draft’s permalink page (e.g. /drafts/my-draft-post) directly in your browser, then you’ll see the draft post rendered.

To publish a draft entry simply move the file out of the drafts folder.

## Installation

Install the pyblosxomdrafts package from pip:

pip install pyblosxomdrafts

Then add it to the load_plugins setting in your config.py:

py[“load_plugins”] = [‘pyblosxomdrafts’]

Project details


Download files

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

Source Distribution

pyblosxomdrafts-0.0.2.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file pyblosxomdrafts-0.0.2.tar.gz.

File metadata

File hashes

Hashes for pyblosxomdrafts-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a130ea033f93dd72782971dd13bb23cdfb6ddb47c0643485d2a1b90c2f18e99b
MD5 82b33a93615cf2c6fa32fe305fe9f496
BLAKE2b-256 0607f3a5f6cc4a3fb972947527f54f5c058561251d982eda8257bf8676be5063

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page