fix RSS feed

This commit is contained in:
Set Sakrecoer 2020-12-11 11:21:37 +01:00
parent fb005db778
commit df241cd7d1

View file

@ -7,7 +7,7 @@ title : To Setto Setto RSS Feed
<channel>
<title>{{ site.title | xml_escape }}</title>
<atom:link href="{{ site.url }}/atom.xml" rel="self" type="application/rss+xml" />
<atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
<link>{{ site.url }}</link>
<description>{{ site.description | xml_escape }}</description>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
@ -31,11 +31,10 @@ title : To Setto Setto RSS Feed
<category>Hi-Lights</category>
{% assign author_id = post.author | prepend: "/authors/" | append: "/" %}
{% assign author = site.authors | where: "url", author_id | first %}
<dc:creator>{{ author.name }}</dc:creator>
<author>{{ author.email }} ({{ author.name }})</author>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<media:thumbnail url="{{ site.url }}{{ post.image }}" {% imagesize {{ post.image }}:props %}></media:thumbnail>
<media:title type="pl ain">{{ post.title | xml_escape }}</media:title>
<media:title type="plain">{{ post.title | xml_escape }}</media:title>
</item>
{% endfor %}
</channel>