docs: RSS uses .Summary instead of .Content since 0.20.

This commit is contained in:
Carnë Draug authored and digitalcraftsman committed 2017-06-14 20:57:42 +02:00
1 parent 7c32540aad
commit 75c8dac3c4
1 file changed
+1 -1
+1 -1
View File
@@ -95,7 +95,7 @@ This is the default RSS template that ships with Hugo. It adheres to the [RSS 2.
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{ .Content | html }}</description>
<description>{{ .Summary | html }}</description>
</item>
{{ end }}
</channel>