diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index f032f74..b41af6d 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -1,5 +1,5 @@ - + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} - {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} @@ -9,14 +9,14 @@ {{.}} {{end}} - {{ with .Site.Author.email }} + {{ with site.Params.author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}} + {{.}}{{ with $ site.Params.author.name }} ({{.}}){{end}} {{end}} - {{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}} + {{ with site.Params.author.email }} + {{.}}{{ with $ site.Params.author.name }} ({{.}}){{end}} {{end}} {{ with .Site.Copyright }} @@ -39,7 +39,7 @@ {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} + {{ with site.Params.author.email }}{{.}}{{ with $ site.Params.author.name }} ({{.}}){{end}}{{end}} {{ .Permalink }} {{ .Content | html }} @@ -48,4 +48,4 @@ {{- end }} - +