diff --git a/themes/buha/layouts/_default/taxonomy.html b/themes/buha/layouts/_default/taxonomy.html index e69de29..b514010 100644 --- a/themes/buha/layouts/_default/taxonomy.html +++ b/themes/buha/layouts/_default/taxonomy.html @@ -0,0 +1,15 @@ +{{ 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" }} +
+ {{ range .Data.Pages }} + {{ . }} + {{ end }} +
+{{ end }}