mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	Add option to show Full Text content in RSS feeds
closes: #372 usageIn site Params => ShowFullTextinRSS: true
This commit is contained in:
		| @@ -40,6 +40,9 @@ | |||||||
|       {{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}} |       {{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}} | ||||||
|       <guid>{{ .Permalink }}</guid> |       <guid>{{ .Permalink }}</guid> | ||||||
|       <description>{{ with .Description | html }}{{ . }}{{ else }}{{ .Summary | html }}{{ end -}}</description> |       <description>{{ with .Description | html }}{{ . }}{{ else }}{{ .Summary | html }}{{ end -}}</description> | ||||||
|  |       {{- if .Site.Params.ShowFullTextinRSS }} | ||||||
|  |       <content>{{ .Content | html }}</content> | ||||||
|  |       {{- end }} | ||||||
|     </item> |     </item> | ||||||
|     {{- end }} |     {{- end }} | ||||||
|     {{ end }} |     {{ end }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange