mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2024-12-26 15:05:52 -05:00
Add option to show Full Text content in RSS feeds
closes: #372 usageIn site Params => ShowFullTextinRSS: true
This commit is contained in:
parent
8357d2b1ff
commit
0c64647138
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user