Is there a way to ToTitleCase/UCFirst things like taxonomy values or strings in general?

If there was more information on how to do string processing in the templates in general, that would be great!

See the title template func:

Ahh that’s super helpful. I did see that page but I forgot it!
Also, my taxonomies come in with dashes for spaces. I tried
PreserveTaxonomyNames= "true"
with no luck.

Maybe it’s because I’m using the key? I’m not sure if there is a better way to do this.

		    {{ range $taxonomyname, $taxonomy := .Site.Taxonomies }}
		          {{ range $key, $value := $taxonomy }}
		          <li><h2>{{ $key }}</h2>
		                <ul>
		                {{ range $value.Pages }}
		                    <li hugo-nav="{{ .RelPermalink}}">
		                    	<a href="{{ .RelPermalink}}"> {{ .LinkTitle }} </a>
		                    </li>
		                {{ end }}
		                </ul>
		            </li>
		          {{ end }}
		    {{ end }}

Try without the quotes

`PreserveTaxonomyNames=true

No luck. ;-(

Does PreserveTaxonomyNames only refer to the taxonomy name itself, not the keys/values?

Key…

What is the Hugo version and output of hugo config?

I recently updated the Hugo docs regarding PreserveTaxonomyNames. See Taxonomy Usage. Not sure if it helps or not. It took that almost directly from @bep’s commit message on GitHub when he implemented this feature.