From 93c87a8100c45309f269e53ab82e6520c883eb2c Mon Sep 17 00:00:00 2001 From: teldra Date: Tue, 5 Apr 2022 13:58:27 +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 b144410f..e06d000f 100644 --- a/themes/buha/layouts/_default/rss.xml +++ b/themes/buha/layouts/_default/rss.xml @@ -59,12 +59,12 @@ {{- $c := .Content -}} {{- $c := replace $c "%s

%s" $when $c -}} + {{- $c = printf "

%s

%s" $when $c -}} {{- end -}} {{- $img := index (.Resources.ByType "image") 0 -}} {{- with $img -}} {{- $img := .Resize "640x" -}} - {{- printf "]]>" $c $img.Permalink $img.Width $img.Height | safeHTML -}} + {{- printf "]]>" $c $img.Permalink $img.Width $img.Height | safeHTML -}} {{- else -}} {{- printf "" $c | safeHTML -}} {{- end -}}