UPDATE: Since this blog post was written, I have migrated to another theme. Have a look at my blog repo for how I have set set this up today.

I’m happy to announce I’ve finally gotten the time to migrate my blog from Pelican to Hugo! The migration started way too long ago. Life came in the way and last week, I finally got the time to migrate all content.

What this means for you as a reader Link to heading

Given that I’ve put Continuous Delivery in place and Hugo doesn’t require a virtual Python environment and other bloat around it, writing posts will be much easier. So, expect a more continuous flow of content!

Migration process Link to heading

It seem like I’m not the only one migrating to Hugo, but in short this was my process:

  1. I set up a basic Hugo site in the same Github repo as before.
  2. I converted all previous content (in reStructuredText) to Markdown using Pandoc and this. The metadata (or “Front Matter” as called in Hugo) had to be manually updated to look correct in the converted filed.
  3. I started creating my own theme from examples on Bootstrap 3 layouts.
  4. I realized I would never get the new site published if I had to create things from scratch :-) I settled on the Minimal Hugo theme by browsing through the public Hugo themes.
  5. I did some [minor adjustments]
  6. I converted the pages that had resources (images etc.) to “Page Bundles”.
  7. I added continuous delivery from development branch on Github to automatically have TravisCI publish a new version of the blog as soon as I push new posts.

Stuff remaining Link to heading

  • Migrate the Disqus comments from the old URL structure to the new.
  • Some adjustments to make the text a little larger. I think the minimal theme has a bit too small text. I want to improve readability.
  • Correct header hierarchy. I’ve filed a bug about it here. The headers also look a but out of place in terms of sizing.

Credits Link to heading

This website would not have been created this fast if it wasn’t for the amazing people behind Hugo and @calintat who made the Minimal theme.