mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
Change RSS description from full .Content to .Summary
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
17b21e0af1
commit
1b92c8b713
@@ -84,7 +84,7 @@ func (t *GoHTMLTemplate) EmbedTemplates() {
|
||||
<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>
|
||||
|
Reference in New Issue
Block a user