From 53fc9b376cf444458fddd1b8c5b92ede88a636e0 Mon Sep 17 00:00:00 2001 From: teldra Date: Wed, 15 Jun 2022 22:19:58 +0200 Subject: [PATCH] small fixes --- themes/buha/layouts/_default/rss.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/buha/layouts/_default/rss.xml b/themes/buha/layouts/_default/rss.xml index a679c5d..8652713 100644 --- a/themes/buha/layouts/_default/rss.xml +++ b/themes/buha/layouts/_default/rss.xml @@ -82,7 +82,7 @@ {{- $banner := .Resources.GetMatch "banner*" -}} {{- if $banner -}} - {{- $c = printf "

%s" $banner.Permalink $banner.Width $banner.Height $c -}} + {{- $c = printf "

%s" $banner.Permalink $banner.Width $banner.Height $c -}} {{- end -}} {{- if $when -}} @@ -92,7 +92,7 @@ {{- range .Resources.ByType "image" -}} {{- $img := . -}} {{- if not (hasPrefix $img.Name "banner") -}} - {{- $c = printf "%s

" $c $img.Permalink $img.Width $img.Height -}} + {{- $c = printf "%s

" $c $img.Permalink $img.Width $img.Height -}} {{- end -}} {{- end -}}