One blog posts has the following definition in its frontmatter:
tags:
- Simon & Garfunkel
The template that renders the tags in the post contains:
{{ with .Params.tags }}
{{ range sort . }}
{{ $href := print (absURL "tags/") (urlize .) }}<a href="{{ $href }}">{{ lower . }}</a>
{{ end }}
{{ end }}
This creates a link to /tags/simon-garfunkel. But the taxonomy term page is created at simon--garfunkel.
I read about a site config value preserveTaxonomyNames but cannot find it in the documentation.
Does anyone know how I can match the taxonomy page slug to the one of the link thatās created? So either the page is created at /tags/simon-garfunkel or I get the link to match /tags/simon--garfunkel.
Instead of passing the title through the strings.ToLower function, you might consider configuring your site so that it doesnāt capitalize or pluralize list titles for pages without a backing file.