Skip to content

seanh/pyblosxomdrafts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyblosxomdrafts

A PyBlosxom 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']

About

A Pyblosxom plugin that lets you save draft blog entries

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages