1
Fork 0

Add version to generator and add author to item

This commit is contained in:
Jake Howard 2018-05-12 10:40:47 +01:00
parent 45362aec18
commit d46158194c
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -4,7 +4,7 @@
<title>{{ .Title }}</title> <title>{{ .Title }}</title>
<link>{{ .Permalink }}</link> <link>{{ .Permalink }}</link>
<description>Recent content in {{ .Title }}</description> <description>Recent content in {{ .Title }}</description>
<generator>Hugo -- gohugo.io</generator> <generator>Hugo {{ .Hugo.Version }} -- gohugo.io</generator>
<language>{{ .Site.LanguageCode }}</language> <language>{{ .Site.LanguageCode }}</language>
<copyright>{{ partial "copyright.html" . | html }}</copyright> <copyright>{{ partial "copyright.html" . | html }}</copyright>
<managingEditor>{{ .Site.Params.author }}</managingEditor> <managingEditor>{{ .Site.Params.author }}</managingEditor>
@ -19,6 +19,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>
<guid>{{ .Permalink }}</guid> <guid>{{ .Permalink }}</guid>
<author>{{ .Site.Params.author }}</author>
<atom:updated>{{ .Date.Format .Site.Params.iso8601 }}</atom:updated> <atom:updated>{{ .Date.Format .Site.Params.iso8601 }}</atom:updated>
<content:encoded>{{ printf "<![CDATA[%s]]>" (replace .Content "\n" "") | safeHTML }}</content:encoded> <content:encoded>{{ printf "<![CDATA[%s]]>" (replace .Content "\n" "") | safeHTML }}</content:encoded>
</item> </item>