I have a site that uses tags as a taxonomy.
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.