2022-06-22 18:51:51 +02:00
|
|
|
{{ 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>
|
2022-06-24 15:59:42 +02:00
|
|
|
{{ range $.Site.Taxonomies.tags.ByCount }}
|
|
|
|
<a href="{{ (printf "/tags/%s" .Name) | relLangURL }}"> {{ .Name }} <small>({{ .Count }})</small></a>
|
|
|
|
{{ end }}
|
2022-06-22 18:51:51 +02:00
|
|
|
</div>
|
|
|
|
{{ end }}
|