simple file-based blog engine
in development, feel free to contribute but use at your own risk.
cdinside that directory and type
npm install windmill
echo "require('windmill')" >> index.js
node index.jswill start your blog on default port (3000)
post's filename are pretty simple:
YEARMONTHDAY_title.post, so for
May 15th 2012 it would be
every post has a header which contain the post info, it's a JSON header like this:
"title" : "Example Post""published" : "Thu, 01 Jan 1970 00:00:00""author" : "Tommy Bergeron <email@example.com>"
the header must be first 5 lines of every post.
the rest of the file is dedicated to your post's markdown formatted content.
you can create a
config.json that looks like this:
"title" : "Example Blog""port" : 3000
the default theme is not modifiable yet since this package is in very early development.