Hi
I’m currently trying to get a term list of a taxonomy rendered in the sidebar. For this I created a new taxonomy called “journeys” which will usually contain a normal text string for each post. Something like “London 2013” or “Montreal 2015”.
Now I’ve tried following code in my sidebar.html
{{ range $name, $taxonomy := .Site.Taxonomies.journeys }}
<li><a href="/journeys/{{ $name | urlize }}">{{ $name }} ({{ $taxonomy | len }})</a></li>
{{ end }}
The problem now is that $name seems to already contain the URLized string (e.g. “london-2015”) instead of the verbatim value I set in my doc.
Is this by design or am I doing something wrong? In any case: How could I get to the original value on a site level?
Thanks