added id and class attributes for CSS purposes

This commit is contained in:
2026-02-01 17:33:48 -05:00
parent 6df591a5fa
commit a9b3910d35

View File

@@ -12,11 +12,11 @@ For a given taxonomy, renders a list of terms assigned to the page.
{{- with $page.GetTerms $taxonomy }} {{- with $page.GetTerms $taxonomy }}
{{- $label := (index . 0).Parent.LinkTitle }} {{- $label := (index . 0).Parent.LinkTitle }}
<div> <div id="terms">
<div>{{ $label }}:</div> <div id="label" class="terms"><span>{{ $label }}:</span></div>
<ul> <ul id="directory" class="terms">
{{- range . }} {{- range . }}
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li> <li class="term"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
{{- end }} {{- end }}
</ul> </ul>
</div> </div>