use 'dc:creator' instead of 'author' in rss

This commit is contained in:
John Bowdre 2023-12-30 15:20:36 -06:00
parent d25a0d9bce
commit bef8bb928a

View file

@ -27,7 +27,7 @@
<title>{{ .Title }}</title> <title>{{ .Title }}</title>
<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.Params.Author.name }}<author>{{.}}</author>{{end}} {{ with .Site.Params.Author.name }}<dc:creator>{{.}}</dc:creator>{{end}}
<guid>{{ .Permalink }}</guid> <guid>{{ .Permalink }}</guid>
<description> <description>
{{ .Content | html }} {{ .Content | html }}