mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.git
synced 2024-09-19 09:57:52 +00:00
13 lines
505 B
HTML
13 lines
505 B
HTML
{{ $context := .context -}}
|
|
{{ $taxo := .taxo -}}
|
|
{{ if (gt (len ($context.GetTerms $taxo)) 0) -}}
|
|
<div class="taxonomy taxonomy-terms-article taxo-{{ urlize $taxo }}">
|
|
<h5 class="taxonomy-title">{{ humanize $taxo }}:</h5>
|
|
<ul class="taxonomy-terms">
|
|
{{ range ($context.GetTerms $taxo) -}}
|
|
<li><a class="taxonomy-term" href="{{ .Permalink }}" data-taxonomy-term="{{ urlize .LinkTitle }}"><span class="taxonomy-label">{{ .LinkTitle }}</span></a></li>
|
|
{{ end -}}
|
|
</ul>
|
|
</div>
|
|
{{ end -}}
|