JOHN W. MATHENA

The Strays


Same Blog, Different Build. On to Hugo!

March 16, 2024

I migrated my blog to Hugo! I’ve been using Jekyll to build my blogging site for the past couple years but I read that it is no longer actively supported. Several bloggers I follow have made the switch to Hugo and claim the build speed is a lot faster. Though that’s not really a concern for me at the moment, if I keep publishing here I’ll eventually run into those problems.

The biggest hurdle was figuring out how Hugo does templating differently than Jekyll. Once I figured that out, it was pretty smooth sailing. Hugo actually has a specific Jekyll import function you can use.

hugo import jekyll <path-to-old-blog> <path-to-new-blog>

That brought over all four of my posts and my assets I think. I’ll post the links I found essential to getting set up.

  1. Hugo Quickstart page
  1. Hugo template lookup order reference
  1. cloudcannon Hugo tutorial
  1. Chen Hui Jing’s Jekyll to Hugo Migration post

If you read through all that, you’ll be in good shape to migrate a blog or set up your own honestly. Happy blogging!