diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 385a1f6c..7763373f 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -38,7 +38,7 @@ {{ with .Site.Params.email }}{{.}}{{ with $.Site.Params.myname }} ({{.}}){{end}}{{end}} {{ with .Params.Lastmod }}{{ .Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{end}} {{ .Permalink }} - {{ .Summary | html }} + {{ with .Params.description }}{{ . }}{{ else }}{{ .Summary | html }}{{ end }} {{ if .Site.Params.fullContents }}{{ .Content | html }}{{end}} {{ if .Params.author }}{{ .Params.author }}{{ else if .Site.Params.myname }}{{ .Site.Params.myname }}{{end}} {{ if .Params.image }}featured image{{end}} @@ -78,7 +78,7 @@ {{ with .Site.Params.email }}{{.}}{{ with $.Site.Params.myname }} ({{.}}){{end}}{{end}} {{ with .Params.Lastmod }}{{ .Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{end}} {{ .Permalink }} - {{ .Summary | html }} + {{ with .Params.description }}{{ . }}{{ else }}{{ .Summary | html }}{{ end }} {{ if .Site.Params.fullContents }}{{ .Content | html }}{{end}} {{ if .Params.author }}{{ .Params.author }}{{ else if .Site.Params.myname }}{{ .Site.Params.myname }}{{end}} {{ if .Params.image }}featured image{{end}} diff --git a/layouts/_default/taxonomy.xml b/layouts/_default/taxonomy.xml index dd107ad4..36af460c 100644 --- a/layouts/_default/taxonomy.xml +++ b/layouts/_default/taxonomy.xml @@ -29,7 +29,7 @@ {{ with .Site.Params.email }}{{.}}{{ with $.Site.Params.myname }} ({{.}}){{end}}{{end}} {{ with .Params.Lastmod }}{{ .Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{end}} {{ .Permalink }} - {{ .Summary | html }} + {{ with .Params.description }}{{ . }}{{ else }}{{ .Summary | html }}{{ end }} {{ if .Site.Params.fullContents }}{{end}} {{ if .Params.author }}{{ .Params.author }}{{ else if .Site.Params.myname }}{{ .Site.Params.myname }}{{end}} {{ if .Params.image }}featured image{{end}}