From 5277ea6be143997c63a592a6d2165dcb4ac6f4f4 Mon Sep 17 00:00:00 2001 From: teldra Date: Wed, 15 Jun 2022 22:03:30 +0200 Subject: [PATCH] small fixes --- themes/buha/layouts/_default/rss.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/themes/buha/layouts/_default/rss.xml b/themes/buha/layouts/_default/rss.xml index 1a8ad85c..baee3ee1 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 -}} @@ -90,9 +90,10 @@ {{- end -}} {{- range .Resources.ByType "image" -}} - {{ $img := . }} + {{ $img := . }} {{- if not (hasPrefix $img.Name "banner") }} - {{- $c = printf "%s" $c $img.Permalink $img.Width $img.Height -}} + {{ $img.Name }} + {{- $c = printf "%s

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