small fixes

This commit is contained in:
teldra 2022-06-15 23:23:56 +02:00
parent 0b399cef87
commit 07c406a552
1 changed files with 16 additions and 1 deletions

View File

@ -60,7 +60,22 @@
{{ $hash = md5 $hash }}
<item>
<title>{{ .Title }}</title>
<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 }}
</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}