To create a new blog, this is the (proposed) sequence of steps:
Initialize the local repository
chicken-press create
This will create the following (proposed) directory structure and add it to a (local) git repository:
Posts Comments Templates
"Published" posts go to the master branch.
The simplest way is
chicken-press serve
Another option: see below.
It (TODO: should) is possible to create an static blog. It will run the content through Hyde (TODO: use Discount). The commenting functionality will then be disabled. (TODO: Add Disqus support).
UPDATE: No longer a s-exp.
A post is a simple (s-expression) describing an a-list, which should contain the following:
- Title (Scratch that: Taken from the first line)
- Date (Scratch that: Taken from the first commit. Update date is taken from the last)
- Author (Scratch that: taken from the comitter)
- Unique ID (Oh look: Git already provides it)
UPDATE: Not so obvious anymore.
A comment is... obviously a s-expression, containing the following:
- Author
- Email (required but not shown)
- Content
- Unique ID (See above)
This need not be stored in the repository.
In addition, initial blog versions will integrate with Disqus.
There's git-blog [https://github.com/elliottcable/git-blog]