Page
Returns the taxonomy page or nil if the taxonomy has no terms.
Syntax
TAXONOMY.Page
Returns
page.Page
This TAXONOMY
method returns nil if the taxonomy has no terms, so you must code defensively:
{{ with .Site.Taxonomies.tags.Page }}
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
{{ end }}
This is rendered to:
<a href="/tags/">Tags</a>
Last updated:
March 5, 2025
:
content: Consolidate configuration documentation (b6cae5cbc)
Improve this page