log.nikhil.io

Hugo Migration

Gave Hugo a try and was quite impressed by the ease and speed. The official documentation kinda sucks at introducing key ideas (like taxonomies) in a gradual way that’s helpful to newcomers, but is great for variable and function references. Found these two posts very helpful. Here’s another that explains template variable scope well. And another that goes over theme development step-by-step.

Sticking to Jekyll for now since

  • I don’t post that often and can wait a minute for recompilation if/when I have that many posts
  • Hugo does not compile SASS like Jekyll; don’t want to make an asset pipeline or turn to readymade solutions like this
  • It doesn’t do archives like Jekyll. Approaches like these might be creative but… 🤷‍♂️

Hugo is as insanely fast as advertized. I love the section and taxonomy abstractions, myriad content types, and I18n support. I’d use it to build any static website that’s not a blog. For now, Viva Jekyll.