diff --git a/themes/buha/layouts/_default/single.html b/themes/buha/layouts/_default/single.html index e69de29..69c4ed0 100644 --- a/themes/buha/layouts/_default/single.html +++ b/themes/buha/layouts/_default/single.html @@ -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" }} +
+ {{ .Content }} +
+{{ end }}