I’m working on a project where I have multiple documentation versions in a content/docs
folder, for example v3.3.12
. Each version has an _index.md
file at the root and is thus a properly formed Hugo section.
A strange thing is happening, though: the name of the section appears as V3.3.12s
in Hugo templates (note the capitalized V
and the extraneous s
). I’m at a loss as to why that would be. Have any of you encountered this before? Any ideas as to why this could be happening?
Here’s the relevant repo/directory, where you can see that the directory is indeed named v3.3.12
:
Right now I’m using a workaround that I would love to avoid if possible:
$sectionName := $originalSectionName | replaceRE "s" "" | lower