From a8b3bc80c87bb45ae522d9fe3e09e191a90f84ff Mon Sep 17 00:00:00 2001 From: teldra Date: Wed, 22 Jun 2022 18:51:51 +0200 Subject: [PATCH] small fixes --- themes/buha/layouts/_default/taxonomy.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 }}