File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11
11
{{- $pages = $pages | first $limit -}}
12
12
{{- end -}}
13
13
{{- printf "<?xml version =\" 1.0\" encoding =\" utf-8\" standalone =\" yes\" ?>" | safeHTML }}
14
- <rss version =" 2.0" xmlns : atom =" http://www.w3.org/2005/Atom" >
14
+ <rss version =" 2.0" xmlns : atom =" http://www.w3.org/2005/Atom" xmlns : content = " http://purl.org/rss/1.0/modules/content/ " >
15
15
<channel >
16
16
<title >{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title >
17
17
<link >{{ .Permalink }}</link >
41
41
<guid >{{ .Permalink }}</guid >
42
42
<description >{{ with .Description | html }}{{ . }}{{ else }}{{ .Summary | html }}{{ end -}}</description >
43
43
{{- if .Site.Params.ShowFullTextinRSS }}
44
- <content >{{ .Content | html }}</content >
44
+ <content : encoded >{{ (printf " <![CDATA[ %s ]]> " .Content) | safeHTML }}</content : encoded >
45
45
{{- end }}
46
46
</item >
47
47
{{- end }}
You can’t perform that action at this time.
0 commit comments