commit 1b92c8b713dcaea36516ef86a72a82909c394d78
parent 17b21e0af1e716bdc7f80b0b2b19b5e469344b34
Author: Darwin <DarwinJS@users.noreply.github.com>
Date: Sat, 25 Mar 2017 17:58:41 -0400
Change RSS description from full .Content to .Summary
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tpl/tplimpl/template_embedded.go b/tpl/tplimpl/template_embedded.go
@@ -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>