I’m working on customizing the tag.html
template which loads for pages with the URL http://localhost:1313/tags/metrics/
here the word metrics
is the term
Using a loop like below I can output all content which has the metrics
tag.
<ul>
{{ range .Site.Taxonomies.tags.metrics }}
<li><a href="{{ .Page.URL }}">{{ .Page.Title }}</a></li>
{{ end }}
</ul>```
While on the `tag.html` template how can I loop over all content without having to set `.metrics` in the range. How can it be set dynamically based on the current term being viewed. Is there anything way to loop over the content?
Thanks