From 6f233a5412d8c15d61905d53a8a3f2192c787fb7 Mon Sep 17 00:00:00 2001 From: teldra Date: Tue, 5 Apr 2022 12:33:01 +0200 Subject: [PATCH] small fixes --- themes/buha/layouts/_default/rss.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/themes/buha/layouts/_default/rss.xml b/themes/buha/layouts/_default/rss.xml index 8c9a425f..d3a755ca 100644 --- a/themes/buha/layouts/_default/rss.xml +++ b/themes/buha/layouts/_default/rss.xml @@ -58,6 +58,8 @@ {{- if $when -}}{{- $when | plainify -}}{{- end -}} {{- $c := .Content -}} + {{- $c := replace $c "%s

%s" $when $c -}}{{- end -}} {{- $img := index (.Resources.ByType "image") 0 -}} {{- with $img -}}