diff options
Diffstat (limited to 'layouts/index.atom.xml')
-rw-r--r-- | layouts/index.atom.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml index b2ff567..2f89537 100644 --- a/layouts/index.atom.xml +++ b/layouts/index.atom.xml @@ -1,22 +1,22 @@ <?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> + <id>{{ .Permalink }}</id> <title>{{ .Site.Title }}</title> + <updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated> <link href="{{ .Permalink }}atom.xml" rel="self"> - <link href="{{ .Permalink }}">{{ if not .Date.IsZero }} - <updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>{{ end }} - <id>{{ .Permalink }}</id> + <link href="{{ .Permalink }}" rel="alternate"> <author> <name>{{ .Site.Author.name }}</name> <email>{{ .Site.Author.email }}</email> </author> - <generator>Hugo -- gohugo.io</generator>{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }} + <generator>Hugo -- gohugo.io</generator> + <rights type="html">{{ .Site.Copyright }} {{ .Site.Params.beginCopyrightYear }}-{{ now.Format "2006" }} {{ .Site.Author.name }}</rights> + <subtitle>{{ .Site.Params.Description }}</subtitle>{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }} <entry> - <title type="html">{{ .Title }}></title> - <link href="{{ .Permalink }}"> <id>{{ .Permalink }}</id> + <title type="html">{{ .Title }}></title> <updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated> - {{- if .Content }} - <content type="html"><{{ .Content }}</content> - {{- end }} + <link href="{{ .Permalink }}"> + <content type="html">{{ .Content }}</content> </entry>{{ end }} </feed> |