🤔 Hugo Theming

It’s nice that Hugo theming is so flexible. I know that, historically, I’ve not been a huge fan of the templating system that it uses, but today that flexibility paid off.

For much of the (current) blog’s run, I had my whole theme stuffed into the site-wide layout (and assets) folder. This allowed me to focus on getting things working, rather than the specifics of getting a theme up and running. Now, I’ve gone a step further and moved those files into their own bespoke theme, and just referenced it from the root hugo.yaml. Nice!

Now, if I ever get a wild hare to change things, I can just swap that line of code and everything flips. Nice!

Respond via email.