mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-25 09:42:58 +00:00
Change RSS description from full .Content to .Summary
This commit is contained in:
parent
17b21e0af1
commit
1b92c8b713
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue