From c8d49d763949fb38f19be9391a67ae1a22f0367a Mon Sep 17 00:00:00 2001 From: Shaform Date: Wed, 16 Jan 2019 11:22:30 -0500 Subject: support webfeed --- layouts/rss.xml | 7 +++++-- 1 file 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 @@ - + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} + {{- with .Site.Params.customFavicon -}} + {{ . | absURL }} + {{- end }} Hugo -- gohugo.io{{ with .Site.LanguageCode }} {{.}}{{end}}{{ with .Site.Author.email }} {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} @@ -27,4 +30,4 @@ {{ end }} - \ No newline at end of file + -- cgit v1.2.3