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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyblosxomdrafts-0.0.2.tar.gz
.
File metadata
- Download URL: pyblosxomdrafts-0.0.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a130ea033f93dd72782971dd13bb23cdfb6ddb47c0643485d2a1b90c2f18e99b |
|
MD5 | 82b33a93615cf2c6fa32fe305fe9f496 |
|
BLAKE2b-256 | 0607f3a5f6cc4a3fb972947527f54f5c058561251d982eda8257bf8676be5063 |