ref: 1b92c8b713dcaea36516ef86a72a82909c394d78
parent: 17b21e0af1e716bdc7f80b0b2b19b5e469344b34
author: Darwin <[email protected]>
date: Sat Mar 25 13:58:41 EDT 2017
Change RSS description from full .Content to .Summary
--- a/tpl/tplimpl/template_embedded.go
+++ b/tpl/tplimpl/template_embedded.go
@@ -84,7 +84,7 @@
<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>