diff options
author | zzossig <52706977+zzossig@users.noreply.github.com> | 2021-04-24 19:42:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-24 19:42:26 +0300 |
commit | 067a7522d5af6015504f0f0271c7ab23c982768d (patch) | |
tree | bfbb74671f1a271d9f5a4a68f1174627c07e04b0 | |
parent | 6258d4dde546706fcdb79f7d7060ee75a02a06ad (diff) | |
parent | 0037b4e19bcbf4961a15d2a94f88ae75acc23894 (diff) |
Merge pull request #406 from RheingoldRiver/rss-desc
Support an rssDescription param
-rw-r--r-- | layouts/_default/rss.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 18561d2..8f5e168 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -8,7 +8,7 @@ <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> + <description>{{ if .Site.Params.rssDescription }}{{ .Site.Params.rssDescription }}{{ else }}Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}{{ end }}</description> <generator>Hugo -- gohugo.io</generator>{{ with .Site.Language.Lang }} <language>{{.}}</language>{{end}}{{ with $.Site.Params.email }} <managingEditor>{{.}}{{ with $.Site.Params.myname }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Params.email }} |