diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/rss.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 57ad3c8..ca6663a 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -36,8 +36,7 @@ <title>{{ .Title }}</title> <link>{{ .Permalink }}</link> {{ if .Params.Image }} - <img src='{{ .Permalink }}{{.Params.Image}}' /> - <image> + <image> <link>{{ .Permalink }}</link> <url>{{ .Permalink }}{{.Params.Image}}</url> <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title> @@ -47,6 +46,9 @@ {{ with .Site.Params.Author.email }}<author>{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}</author>{{end}} <guid>{{ .Permalink }}</guid> <description> + {{ if .Params.Image }} + <img src='{{ .Permalink }}{{.Params.Image}}' /> + {{ end }} {{ $content }} </description> </item> |