diff --git a/themes/buha/layouts/partials/snippets/banner.html b/themes/buha/layouts/partials/snippets/banner.html index eeb7432..4040511 100644 --- a/themes/buha/layouts/partials/snippets/banner.html +++ b/themes/buha/layouts/partials/snippets/banner.html @@ -38,7 +38,7 @@ {{ with .File }} {{ $slug = anchorize .ContentBaseName }} {{ end }} -{{ if or (and $img (ne .Params.banner false)) (.Resources.ByType "image") }}1 +{{ if or (and $img (ne .Params.banner false)) (.Resources.ByType "image") }} {{ if .Resources.Match "banner*" }} {{ $img = .Resources.GetMatch "banner*" }} {{ end }} @@ -83,7 +83,7 @@ {{ if not .IsHome }}