noblog is a static blog framework that's almost like having no static blog framework at all. It accomplishes things using POSIX utilities and file permissions -- like your father did, and his father before him.
Instructions:
-
Initialize a new blog with
init.py
. -
Create a new unpublished post with
new.py [relative URL] [title for post]
. -
Edit your unpublished post as HTML.
-
Publish a post with
pub.py [relative URL]
. -
Pin a post with
pin.py [relative URL]
. -
Rebuild the index with
build.py
.
To delete a post, just rm -rf its directory and rebuild. To edit a post, just edit its HTML and
rebuild. To modify a posts's title, just edit its <title>
tag and rebuild. To modify a post's URL, just rename its directory and rebuild. Re-publishing or re-pinning a post will bump its publication date. You can't unpublish or unpin a post yet, but maybe I'll add that soon.