Add version to generator and add author to item
This commit is contained in:
parent
45362aec18
commit
d46158194c
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<description>Recent content in {{ .Title }}</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<generator>Hugo {{ .Hugo.Version }} -- gohugo.io</generator>
|
||||
<language>{{ .Site.LanguageCode }}</language>
|
||||
<copyright>{{ partial "copyright.html" . | html }}</copyright>
|
||||
<managingEditor>{{ .Site.Params.author }}</managingEditor>
|
||||
|
@ -19,6 +19,7 @@
|
|||
<link>{{ .Permalink }}</link>
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<author>{{ .Site.Params.author }}</author>
|
||||
<atom:updated>{{ .Date.Format .Site.Params.iso8601 }}</atom:updated>
|
||||
<content:encoded>{{ printf "<![CDATA[%s]]>" (replace .Content "\n" "") | safeHTML }}</content:encoded>
|
||||
</item>
|
||||
|
|
Loading…
Reference in a new issue