forked from Bunteshaus/bunteshaus.de
14 lines
338 B
HTML
14 lines
338 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>
|
|
{{ .Content }}
|
|
</div>
|
|
{{ end }}
|