diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index b6a7ec06..342986df 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -43,7 +43,7 @@ {{- $pages = $pages | first $limit }} {{- end }} {{- printf "" | safeHTML }} - + {{ if eq .Title site.Title }}{{ site.Title }}{{ else }}{{ with .Title }}{{ . }} on {{ end }}{{ site.Title }}{{ end }} {{ .Permalink }} @@ -73,7 +73,7 @@ {{- with $authorEmail }}{{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }} {{ .Permalink }} {{ with .Description | html }}{{ . }}{{ else }}{{ .Summary | html }}{{ end -}} - {{- if site.Params.ShowFullTextinRSS }} + {{- if and site.Params.ShowFullTextinRSS .Content }} {{ (printf "" .Content) | safeHTML }} {{- end }}