From 07c406a5523c3bef34f8c2a678613fd4ed756675 Mon Sep 17 00:00:00 2001 From: teldra Date: Wed, 15 Jun 2022 23:23:56 +0200 Subject: [PATCH] small fixes --- themes/buha/layouts/_default/rss.xml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/themes/buha/layouts/_default/rss.xml b/themes/buha/layouts/_default/rss.xml index efc6544..cac75ad 100644 --- a/themes/buha/layouts/_default/rss.xml +++ b/themes/buha/layouts/_default/rss.xml @@ -60,7 +60,22 @@ {{ $hash = md5 $hash }} - {{ .Title }} + + {{ if .Params.events }} + {{ index .Params.events 0 }}: + {{ else if .Params.recurrent }} + {{ if i18n "recurrent"}} + {{ i18n "recurrent"}}: + {{ else }} + {{ "Recurrent"}}: + {{ end }} + {{ else if .Params.categories }} + {{ if in .Params.categories "Buha" }} + In eigener Sache: + {{ end }} + {{ end }} + {{ .Title }} + {{ .Permalink }} {{ .Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}