bunteshaus.de/themes/buha/layouts/_default/taxonomy.html

16 lines
368 B
HTML
Raw Normal View History

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