Chisel 03.02.2009

I’ve been thinking about playing around with static generated blogs. I had some free time, so I wrote a small python script that’ll take a directory of files, and using jinja2, generate the relevant archive/detail/index pages.

It’s (horribly) inefficient, since it’s basically passing around lists of all files, but it’ll do for now.

It clocks in at around 116 lines of code, so it’s not too hard to modify if any feel so inclined. I’ve attempted to build in some flexibility with the @step decorator, but we’ll see how well that pans out.

I’m considering shifting this blog to Chisel in the near future. I like the idea of my blog posts being just plain text files on the filesystem. Reminds me of the glory days of Blosxom.