summaryrefslogtreecommitdiff
path: root/layouts/_default/rss.xml
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2021-04-29 19:37:50 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2021-04-29 19:38:08 +0530
commit0c64647138db674531b25a7ec03118957ec687ba (patch)
tree96060be187f0383ceca3c09bdb124a42a5ddf502 /layouts/_default/rss.xml
parent8357d2b1ffe9cf159e37b7774b2119ff73fc24f1 (diff)
Add option to show Full Text content in RSS feeds
closes: #372 usageIn site Params => ShowFullTextinRSS: true
Diffstat (limited to 'layouts/_default/rss.xml')
-rw-r--r--layouts/_default/rss.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
index 64d50d7..8070d9d 100644
--- a/layouts/_default/rss.xml
+++ b/layouts/_default/rss.xml
@@ -40,6 +40,9 @@
{{ 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 }}
+ <content>{{ .Content | html }}</content>
+ {{- end }}
</item>
{{- end }}
{{ end }}