{{- /* Generates a list of the terms for a given taxonomy. @context {Page} .page The current page @context {String} .taxonomy The name of the taxonomy */ -}} {{- $taxonomy := .taxonomy -}} {{ with .page.GetTerms $taxonomy }} {{- $name := $taxonomy -}} {{- with T $taxonomy (len .) }} {{ $name = . }} {{ end -}}