added id and class attributes for CSS purposes
This commit is contained in:
@@ -12,11 +12,11 @@ For a given taxonomy, renders a list of terms assigned to the page.
|
||||
|
||||
{{- with $page.GetTerms $taxonomy }}
|
||||
{{- $label := (index . 0).Parent.LinkTitle }}
|
||||
<div>
|
||||
<div>{{ $label }}:</div>
|
||||
<ul>
|
||||
<div id="terms">
|
||||
<div id="label" class="terms"><span>{{ $label }}:</span></div>
|
||||
<ul id="directory" class="terms">
|
||||
{{- range . }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
||||
<li class="term"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user