I apologize if this is in the docs and/or easy to look up. I have been searching with no luck.
On the term.html
page, how can I get the singular taxonomy name
?
When looking at a term, I would like it to say “tag” or “category” above the .Title
of the term.
I am using a single term.html
with:
{{ define "main" }}
<header>
<p>(( would like this to say "Tag" or "Category" ))</p>
<h1 class="t-h1">{{ .Title }}</h1>
</header>
...
{{ end }}
Many thanks in advance!