bunteshaus.de/themes/buha/layouts/_default/taxonomy.html
2022-06-22 18:51:51 +02:00

16 lines
368 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 .Data.Pages }}
{{ . }}
{{ end }}
</div>
{{ end }}