diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index d7ce857..55d8dab 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -1,5 +1,5 @@ {{- printf "" | safeHTML }} - + {{.Title}} {{ .Permalink }} @@ -9,7 +9,7 @@ {{.Site.BaseURL}}{{.Site.Params.default_img}} - {{if .Site.Params.funding}} + {{if .Site.Params.funding}} Support this work!{{end}} {{ range .Site.RegularPages }} {{ .Title }} @@ -27,8 +27,10 @@ {{end}} {{end}}{{ if .Params.image}} - {{.Params.image}}{{end}} - {{- .Content | html -}} + {{.Params.image}} + {{end}} + {{.Site.BaseURL}}{{.Params.description}} + {{- .Content | html -}} {{ end }} diff --git a/layouts/about/rss.xml b/layouts/about/rss.xml index 5737218..273071b 100644 --- a/layouts/about/rss.xml +++ b/layouts/about/rss.xml @@ -1,25 +1,36 @@ {{- printf "" | safeHTML }} - + - {{.Site.Title}} - {{ .Site.BaseURL }} - {{.Site.Params.description}} + {{.Title}} + {{ .Permalink }} + {{.Params.description}} Hugo -- gohugo.io{{ with .Site.LanguageCode }} {{.}}{{end}} {{.Site.BaseURL}}{{.Site.Params.default_img}} - {{ range .Site.RegularPages | first 5}} + {{if .Site.Params.funding}} + Support this work!{{end}} {{ range .Site.RegularPages | first 5 }} {{ .Title }} {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} - {{ .Permalink }}{{ if .Params.audio}} - + {{ .Permalink }}{{ if .Params.gif}} + + {{end}}{{ if .Params.video}} + + {{end}}{{ if .Params.audio}} + {{if in .Params.audio "https://"}} + + {{else}} + + {{end}} {{end}}{{ if .Params.image}} - {{.Site.BaseURL}}{{.Params.image}}{{end}} - {{- .Content | html -}} + {{.Params.image}} + {{end}} + {{.Site.BaseURL}}{{.Params.description}} + {{- .Content | html -}} {{ end }}