I have created a taxonomy… product-category = “product-categories”
I’m having a hard time pulling any 2 word taxonomies through. Anybody know how I can pull a list of taxonomy with spaces? This is what I have and is not working.
{{ range $product_categories, $taxonomy := .Site.Taxonomies "product-categories" }}
<li>
<a href="/product-categories{{ $product_categories | urlize | relURL }}" class="category__item" class="secondary-btn">{{ $product_categories | humanize }} ({{ $taxonomy.Count }})</a>
</li>
{{end}}