I just spent a couple of hours hunting down what the heck is causing text to show up wholy different than it is defined.
First the blog section was titled Blogs instead of just Blog as in the header menu.
This was caused by automatic plurazization (pluralizeListTitles
) in Hugo, which is a “feature” that I can absolutely not get behind.
I get that there might be a lot of valid use cases for this, but I am not one of them and I am not sure that turning that on by default is a good idea.
At least I was mighty confused and sent down a rabbit hole that took me a while to get out of for no reason by that.
Secondly the tags were all weirdly capitalized even though they’re defined as lowercase.
The option capitalizeListTitles
was found as the culprit of this, which also defaults to true.
Well after setting both to false
in the hugo.toml
file the Blog page, which I have renamed to posts to mask the problem, was now properly displayed, as well as the tags were now also displayed in lowercase.
But now the Problem is that I need to define addtional files to keep the uppercase section title, ex. Posts instead of now posts, and Blog instead of blog, which is what I would guess why the options were introduced and defaulted to in the first place. The Problem I am seeing is why I just can’t lowercase tags and leave everything else as is. I should maybe open a pull request, since it is open source and why the heck not.
Anyways thats a quick post for this blog wrapped up I guess and maybe it helps someone stumbling upon the same problem.