I migrated this site again…this time to Jekyll.
Why again? When I migrated from WordPress to Blogofile in the beginning of 2013, I evaluated other static site generators (Octopress and Pelican) as well, before settling on Blogofile. I knew at the time that Jekyll existed and that Octopress is based on it, but I didn’t take a closer look.
After reading a few recent posts by other people who migrated to Jekyll, I became interested in Jekyll again. Originally I just started to convert my site to Jekyll to see how it works and how it’s different/similar to Blogofile, but in the end I converted the complete site and decided to stay with Jekyll.
There’s no real reason why…I guess it’s just because Jekyll is all the rage now :-)
Apart from the fact that Jekyll is slightly more popular (starred on GitHub 13,476 vs. 295 times, as of now), Jekyll and Blogofile are largely the same.
Some things are easier to do in Blogofile, some are easier to do in Jekyll:
- Both have their little quirks: in Blogofile I had issues with German umlauts, in Jekyll I had trouble with wrong quote characters in old blog posts that were originally converted from WordPress
(Jekyll doesn’t like it when you use
- Generating the “Projects” page is much easier in Jekyll (thanks to YAML data files)
- Blogofile automatically generates stuff like feeds, tag pages and archive pages, which I needed to copy-paste or even build myself for Jekyll
- A few small things like combining a page-specific title with the site-wide title are incredibly complicated in Blogofile, but dead easy in Jekyll
- Blogofile has built-in helpers for creating lists of posts by month and tags with number of posts in the sidebar, but Jekyll doesn’t
(to see the difference, look at the diffs in the two links)
Oh, and of course I needed to re-build my previous solution to display Markdown files from my Bitbucket projects (again).
Here’s the Jekyll code to generate the PHP pages.
The default Jekyll setup these days seems to be using GitHub Pages, but my site is still hosted on my own webspace (I’m paying for it anyway, and I prefer to use Mercurial, not Git).