mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 20:11:37 +01:00
Add title to the image tag in rss.xml (#1105)
Ref: https://cyber.harvard.edu/rss/rss.html#ltimagegtSubelementOfLtchannelgt
This commit is contained in:
parent
f5320cd336
commit
4d42965bb5
@ -18,6 +18,7 @@
|
|||||||
<description>Recent content {{ if ne .Title site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ site.Title }}</description>
|
<description>Recent content {{ if ne .Title site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ site.Title }}</description>
|
||||||
{{- with site.Params.images }}
|
{{- with site.Params.images }}
|
||||||
<image>
|
<image>
|
||||||
|
<title>{{ site.Title }}</title>
|
||||||
<url>{{ index . 0 | absURL }}</url>
|
<url>{{ index . 0 | absURL }}</url>
|
||||||
<link>{{ index . 0 | absURL }}</link>
|
<link>{{ index . 0 | absURL }}</link>
|
||||||
</image>
|
</image>
|
||||||
|
Loading…
Reference in New Issue
Block a user