I haven’t touched the site for pretty long time, but recently after re-installing Linux I’ve decided to update Hugo to latest version, and… found out that my site was broken in serveral places.
- I had to move most of the params in language sections to
params
sub-section. Actually,hugo serve
warns about wrongly placed parameters, so it’s not a big problem. - I’ve removed
taxonomyTerm
from theoutputs
section in config. As I understood, it’s all merged withtaxonomy
now, so separate parameter doesn’t make sense. - I had to make category keys in theme to lower case. 0.123.3 has added the capitalizeListTitles
option (i.e.
font-patching
becameFont-Patching
). For some people it’s conveinent, but for me it broke localization, since it was based on lowercased keys. In truth, making keys lowercased was a rushed decision, because I could just disable an option, but at some point there could be a problem when something somewhere will be in wrong case, and will break everything, so it’s for the better.
But now everything is generated with fresh Hugo 0.126.1, and works as expected. I think I’ll write a theme for Hugo sometime, but I think it won’t happen soon.