From 0c64647138db674531b25a7ec03118957ec687ba Mon Sep 17 00:00:00 2001
From: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
Date: Thu, 29 Apr 2021 19:37:50 +0530
Subject: [PATCH] Add option to show Full Text content in RSS feeds
closes: #372
usageIn site Params =>
ShowFullTextinRSS: true
---
layouts/_default/rss.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
index 64d50d79..8070d9da 100644
--- a/layouts/_default/rss.xml
+++ b/layouts/_default/rss.xml
@@ -40,6 +40,9 @@
{{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}
{{ .Permalink }}
{{ with .Description | html }}{{ . }}{{ else }}{{ .Summary | html }}{{ end -}}
+ {{- if .Site.Params.ShowFullTextinRSS }}
+ {{ .Content | html }}
+ {{- end }}
{{- end }}
{{ end }}