diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 15a4ed7..7dccba1 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -12,9 +12,27 @@ {{ .RelPermalink }} {{ .Site.Title }}{{ if ne .Title .Site.Title }}{{ with .Title }} ({{.}}){{ end }}{{ end }} 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}} + {{ with .Site.Params.author }} + {{ with .email }} + {{.}} + {{ with $.Site.Params.author.name }} + ({{.}}) + {{end}} + + {{end}} + + {{ with .Site.Params.author.email }} + + {{.}} + {{ with $.Site.Params.author.name }} + ({{.}}) + {{end}} + + {{end}} + {{ end }} + + {{ with .Site.Copyright }} {{.}}{{end}}{{ if not .Date.IsZero }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} {{ with .OutputFormats.Get "RSS" }} @@ -25,7 +43,7 @@ {{ .Title }} {{ .RelPermalink }} {{ .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}} {{ .RelPermalink }} {{ .Content | html }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index ea511b7..5a01e1f 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -15,7 +15,7 @@ {{ end }}
- © {{ if isset .Site.Author "name"}}{{ .Site.Author.name }}, {{end}}{{ now.Year }} + © {{ if isset .Site.Params.author "name"}}{{ .Site.Params.author.name }}, {{end}}{{ now.Year }} {{ if .Site.Params.UmamiAnalytics.shareUrl }} {{ end }}