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 hashes)

Uploaded Source

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