Add title to the image tag in rss.xml (#1105)

Ref: https://cyber.harvard.edu/rss/rss.html#ltimagegtSubelementOfLtchannelgt
This commit is contained in:
k-yone 2023-02-04 21:04:21 +09:00 committed by GitHub
parent f5320cd336
commit 4d42965bb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>