diff options
Diffstat (limited to 'layouts/_default/rss.xml')
| -rw-r--r-- | layouts/_default/rss.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 134d50d..56f11a9 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -16,10 +16,10 @@ <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> - {{- with site.Params.images }} + {{- with site.Params.logo }} <image> - <url>{{ index . 0 | absURL }}</url> - <link>{{ index . 0 | absURL }}</link> + <url>{{ .icon | absURL }}</url> + <link>{{ .icon | absURL }}</link> </image> {{- end }} <generator>Hugo -- gohugo.io</generator>{{ with site.LanguageCode }} @@ -40,7 +40,7 @@ {{ with site.Author.email }}<author>{{.}}{{ with site.Author.name }} ({{.}}){{end}}</author>{{end}} <guid>{{ .Permalink }}</guid> <description>{{ with .Description | html }}{{ . }}{{ else }}{{ .Summary | html }}{{ end -}}</description> - {{- if site.Params.ShowFullTextinRSS }} + {{- if not site.Params.RSSNoContent}} <content:encoded>{{ (printf "<![CDATA[%s]]>" .Content) | safeHTML }}</content:encoded> {{- end }} </item> |
