diff --git a/docs/content/templates/rss.md b/docs/content/templates/rss.md index a17b40d5e..112532cb0 100644 --- a/docs/content/templates/rss.md +++ b/docs/content/templates/rss.md @@ -75,19 +75,22 @@ This is the RSS template that ships with Hugo. It adheres to the - {{ .Title }} on {{ .Site.Title }} - Hugo + {{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }} {{ .Permalink }} - {{ with .Site.LanguageCode }}{{.}}{{end}} - {{ with .Site.Author.name }}{{.}}{{end}} - {{ with .Site.Copyright }}{{.}}{{end}} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }} + Recent content {{ with .Title }}in {{.}} {{ end }}on {{ .Site.Title }} + Hugo -- gohugo.io{{ with .Site.LanguageCode }} + {{.}}{{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 }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} + {{ range first 15 .Data.Pages }} {{ .Title }} {{ .Permalink }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }} - {{with .Site.Author.name}}{{.}}{{end}} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} {{ .Permalink }} {{ .Content | html }}