From: Darwin Date: Sat, 25 Mar 2017 21:58:41 +0000 (-0400) Subject: Change RSS description from full .Content to .Summary X-Git-Tag: v0.20~111 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1b92c8b713dcaea36516ef86a72a82909c394d78;p=brevno-suite%2Fhugo Change RSS description from full .Content to .Summary --- diff --git a/tpl/tplimpl/template_embedded.go b/tpl/tplimpl/template_embedded.go index 77561d42..2aabe9c9 100644 --- a/tpl/tplimpl/template_embedded.go +++ b/tpl/tplimpl/template_embedded.go @@ -84,7 +84,7 @@ func (t *GoHTMLTemplate) EmbedTemplates() { {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} {{ .Permalink }} - {{ .Content | html }} + {{ .Summary | html }} {{ end }}