Nikolay Sturm's Blog

Musings about Development and Operations

A Category List Generator for Jekyll

| Comments

The other day I moved my blog from chronicle to Octopress.

I used chronicle for about two years and finally got sick with a couple of things. Most importantly, I didn’t like the site’s design anymore so I needed something new. Chronicle is a static blog compiler, which didn’t quite fulfill my needs of building a complete site with a couple of static pages. Finally it is written in Perl, while I prefer coding (and patching tools written) in Ruby these days.

While the switch to Octopress was rather painless (sorry for fucking up the RSS transition), I missed an overview of all my categories.

Octopress is based on Jekyll which uses Liquid for templating. It took some time to get my head twisted around its parts, but I finally managed to write a plugin that lists all my categories with counts in the sidebar.