diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 8b5c4206..25b0d148 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -14,7 +14,7 @@ {{.}}{{end}}{{ with site.Author.email }} {{.}}{{ with site.Author.name }} ({{.}}){{end}}{{end}}{{ with site.Author.email }} {{.}}{{ with site.Author.name }} ({{.}}){{end}}{{end}}{{ with site.Copyright }} - {{.}}{{end}}{{ if not .Date.IsZero }} + {{replace . "{year}" now.Year | plainify}}{{end}}{{ if not .Date.IsZero }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} {{ with .OutputFormats.Get "RSS" }} {{ printf "" .Permalink .MediaType | safeHTML }}