diff options
Diffstat (limited to 'layouts/rss.xml')
-rw-r--r-- | layouts/rss.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/layouts/rss.xml b/layouts/rss.xml index 759d9b9..31ffbce 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -1,8 +1,11 @@ -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:webfeeds="http://webfeeds.org/rss/1.0"> <channel> <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title> <link>{{ .Permalink }}</link> <description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description> + {{- with .Site.Params.customFavicon -}} + <webfeeds:icon>{{ . | absURL }}</webfeeds:icon> + {{- end }} <generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }} <language>{{.}}</language>{{end}}{{ with .Site.Author.email }} <managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }} @@ -27,4 +30,4 @@ </item> {{ end }} </channel> -</rss>
\ No newline at end of file +</rss> |