Umstellung auf neue Hugo Version 0.139.4 - Verschieben der Author-Sektion

This commit is contained in:
marcodn 2025-01-02 19:19:27 +01:00
parent dca5adb929
commit 8662c0add2
9 changed files with 32 additions and 24 deletions

View file

@ -6,7 +6,7 @@
<link>{{ .Site.BaseURL }}</link>
<description>{{ .Page.Params.description }}</description>
<language>{{ .Site.LanguageCode }}</language>
<copyright>{{ with .Site.Author.email }}{{.}}{{end}}</copyright>
<copyright>{{ with .Site.Params.Author.email }}{{.}}{{end}}</copyright>
<pubDate>{{ now.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ range (index .Site.Data ( .Page.Params.dataname )) }}
<item>
@ -19,7 +19,7 @@
{{- (path.Join $baseDir .filename) | absURL -}}
{{ end }}
</link>
<author>{{ with $.Site.Author.email }}{{.}}{{end}}</author>
<author>{{ with $.Site.Params.Author.email }}{{.}}{{end}}</author>
<guid></guid>
<pubDate>{{ (time .published).Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
</item>