summaryrefslogtreecommitdiffstats
path: root/tpl
diff options
context:
space:
mode:
authorDarwin <DarwinJS@users.noreply.github.com>2017-03-25 17:58:41 -0400
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-03-25 22:58:41 +0100
commit1b92c8b713dcaea36516ef86a72a82909c394d78 (patch)
treefb3d366b4deb51f6e425eab8b6bd628d0f80a401 /tpl
parent17b21e0af1e716bdc7f80b0b2b19b5e469344b34 (diff)
Change RSS description from full .Content to .Summary
Diffstat (limited to 'tpl')
-rw-r--r--tpl/tplimpl/template_embedded.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/tplimpl/template_embedded.go b/tpl/tplimpl/template_embedded.go
index 77561d42b..2aabe9c9c 100644
--- 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>