As per the documentation, I’m using .Alphabetical.Reverse to reverse the order of my taxonomy.
This is the code that works fine without .Alphabetical.Reverse. It gives me the name of each category in alphabetical order.
{{range $name, $taxonomy := .Site.Taxonomies.categories}}
{{$name}}
{{end}}
When I add .Alphabetical.Reverse, like so
{{range $name, $taxonomy := .Site.Taxonomies.categories.Alphabetical.Reverse}}
{{$name}}
{{end}}
I end up getting a list of numbers (0, 1, 2… 20) which I assume corresponds to each category. How can I convert these numbers to their names as before?