diff options
Diffstat (limited to 'layouts/rss.xml')
-rw-r--r-- | layouts/rss.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/rss.xml b/layouts/rss.xml index 4aa772b..bad0a05 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -8,7 +8,7 @@ <managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }} <webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }} <copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }} - <lastBuildDate>{{ dateFormat "02 Jan 06 15:04 +0100".Date.UTC }}</lastBuildDate>{{ end }} + <lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }} {{ with .OutputFormats.Get "RSS" }} {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }} {{ end }} @@ -16,7 +16,7 @@ <item> <title>{{ .Title }}</title> <link>{{ .Permalink }}</link> - <pubDate>{{ dateFormat "02 Jan 06 15:04 +0100".Date.UTC }}</pubDate> + <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> {{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}} <guid>{{ .Permalink }}</guid> <description>{{ .Content | html }}</description> |