Joseph Rollinson

Hugo Update

After years of neglect, I’ve finally updated my website to use Hugo. I had been using Jekyll, which was fine, but had 2 substantial flaws:

  1. I have no idea how Ruby works and have no desire to learn.
  2. The jekyll docker image I was using hadn’t been updated in years.

It took 3 attempts to migrate over, but I finally got it! Here was my approach:

  1. I created a new hugo site as a subdirectory.
  2. I set up an existing theme (hugo-bearblog) as a submodule, just to get the content to show up.
  3. I used aider with Sonnet 3.7 to convert each page. This worked very well, even on complicated pages.
  4. Once the content was transitioned over, I created my own theme, trying to steal as little possible.

In the end, it worked! There’s still more tweaks to do, but I’m happy to get it out.