aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-15 17:08:38 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-15 17:08:38 +0300
commit038dbe8d428fc122caa19bfb369305fae03795ea (patch)
treee789168fb97c9cd415c423f328c62f7dcbabbf7b /layouts/_default
parent8450331a79bb507aa3ecb0e54c7eee0676642622 (diff)
Auto-commit 2024-12-15
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/rss.xml6
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>