Tweak configuration and template
This commit is contained in:
parent
14ae098c18
commit
e7c4816d31
3 changed files with 11 additions and 2 deletions
|
@ -13,7 +13,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>
|
||||
{{if eq $label "Tags"}}
|
||||
<div>Etiquetas</div>
|
||||
{{else}}
|
||||
<div>{{ $label }}:</div>
|
||||
{{end}}
|
||||
<ul>
|
||||
{{- range . }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue