commit aaf2790fbc7611365e8d886cea194d25733028ea
parent 18fc763242987c8fb071ad388af0e3f6ff536821
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sat, 30 Nov 2019 11:33:53 -0500
Add back author field for Atom feed to validate
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/layouts/rss.xml b/layouts/rss.xml
@@ -3,12 +3,14 @@
<link href="{{ .Permalink }}"/>
<link href="{{ .Permalink }}index.xml" rel="self"/>
<updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" }}</updated>
+ <author><name>{{.Site.Params.Author}}</name></author>
<id>{{ .Permalink }}</id>
{{ range where .Site.RegularPages "Section" "!=" "" }}
<entry>
<id>{{ .Permalink }}</id>
{{ `<title type="html"><![CDATA[` | safeHTML }}{{ .Title }}]]></title>
<updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" }}</updated>
+ <author><name>{{.Site.Params.Author}}</name></author>
{{ `<content type="html"><![CDATA[` | safeHTML }}{{ .Content }}]]></content>
<link href="{{ .Permalink }}"/>
</entry>