forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
5a7d9da98b
commit
5524eb3ec5
|
@ -0,0 +1,13 @@
|
|||
{{ 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 }}
|
Loading…
Reference in New Issue
Block a user