bunteshaus.de/themes/buha/layouts/_default/taxonomy.html
2022-06-24 15:59:42 +02:00

16 lines
493 B
HTML

{{ define "banner" }}
{{ $image := "" }}
{{ if .Resources.GetMatch "banner*" }}
{{ $image = .Resources.GetMatch "banner*" }}
{{ end }}
{{ partial "snippets/banner_new" (dict "context" . "image" $image "title" .Title "section" .Section) }}
{{ end }}
{{ define "content" }}
<div>
{{ range $.Site.Taxonomies.tags.ByCount }}
<a href="{{ (printf "/tags/%s" .Name) | relLangURL }}"> {{ .Name }} <small>({{ .Count }})</small></a>
{{ end }}
</div>
{{ end }}