The code below is displaying a list of the categories in my blog. Yet, every time I call $key the name is already a slug url like “johnny-five” instead of “Johnny Five”.
What am I missing here?
<ul>
{{ $baseurl := .Site.BaseURL }}
{{ range $key, $value := .Site.Taxonomies.categories }}
<li><a href="{{ $baseurl }}categories/{{ $key | urlize }}">{{ $key }}</a> ({{ len $value }})</li>
{{ end }}
</ul>