Add option to show Full Text content in RSS feeds

closes: #372

usageIn site Params =>
    ShowFullTextinRSS: true
This commit is contained in:
Aditya Telange 2021-04-29 19:37:50 +05:30
parent 8357d2b1ff
commit 0c64647138
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -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 }}