2026-04-06 10:23:13 +02:00
parent 3040fd5e46
commit 056a228661

View File

@@ -1,5 +1,5 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} - {{ end }}{{ .Site.Title }}{{ end }}</title> <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} - {{ end }}{{ .Site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link> <link>{{ .Permalink }}</link>
@@ -9,14 +9,14 @@
<language>{{.}}</language> <language>{{.}}</language>
{{end}} {{end}}
{{ with .Site.Author.email }} {{ with site.Params.author.email }}
<managingEditor> <managingEditor>
{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}} {{.}}{{ with $ site.Params.author.name }} ({{.}}){{end}}
</managingEditor> </managingEditor>
{{end}} {{end}}
{{ with .Site.Author.email }} {{ with site.Params.author.email }}
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster> <webMaster>{{.}}{{ with $ site.Params.author.name }} ({{.}}){{end}}</webMaster>
{{end}} {{end}}
{{ with .Site.Copyright }} {{ with .Site.Copyright }}
@@ -39,7 +39,7 @@
<link>{{ .Permalink }}</link> <link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}} {{ with site.Params.author.email }}<author>{{.}}{{ with $ site.Params.author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid> <guid>{{ .Permalink }}</guid>
<description> <description>
{{ .Content | html }} {{ .Content | html }}
@@ -48,4 +48,4 @@
</item> </item>
{{- end }} {{- end }}
</channel> </channel>
</rss> </rss>