mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-26 04:21:38 +01: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