diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 18561d2..a4807db 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -13,7 +13,7 @@ {{.}}{{end}}{{ with $.Site.Params.email }} {{.}}{{ with $.Site.Params.myname }} ({{.}}){{end}}{{end}}{{ with .Site.Params.email }} {{.}}{{ with $.Site.Params.myname }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} - {{.}}{{end}}{{ if not .Date.IsZero }} + {{ replace . "{year}" now.Year | markdownify}}{{end}}{{ if not .Date.IsZero }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }}{{ with .Site.Params.updatePeriod }} {{.}}{{end}}{{ with .Site.Params.updateFrequency }} {{.}}{{end}} @@ -110,4 +110,4 @@ {{ end }} - \ No newline at end of file +