More feed fixes

This commit is contained in:
mathiascode 2019-12-01 07:46:00 +02:00
parent 1459baee57
commit 24ea053e52

View file

@ -14,7 +14,7 @@ layout: minify
<updated>{{ site.time | date_to_xmlschema }}</updated> <updated>{{ site.time | date_to_xmlschema }}</updated>
<link href="{{ site.url }}/"/> <link href="{{ site.url }}/"/>
<link href="{{ site.url }}/feed.xml" rel="self"/> <link href="{{ site.url }}/feed.xml" rel="self"/>
<id>{{ random }}</id> <id>{{ site.url }}/feed.xml</id>
{% for post in site.posts %} {% for post in site.posts %}
<entry> <entry>
<title>{{ post.date | date: "%B %e, %Y" }}</title> <title>{{ post.date | date: "%B %e, %Y" }}</title>
@ -24,7 +24,7 @@ layout: minify
<content type="html">{{ post.content | xml_escape }}</content> <content type="html">{{ post.content | xml_escape }}</content>
<published>{{ post.date | date_to_xmlschema }}</published> <published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.date | date_to_xmlschema }}</updated> <updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ random }}</id> <id>{{ site.url }}/news/{{ post.date }}</id>
<link href="{{ site.url }}/news/"/> <link href="{{ site.url }}/news/"/>
</entry> </entry>
{% endfor %} {% endfor %}