Test pubDate

This commit is contained in:
mathiascode 2019-12-01 07:29:05 +02:00
parent ccda147c29
commit 2c920ee874

View file

@ -5,14 +5,14 @@ layout: minify
<feed xmlns="http://www.w3.org/2005/Atom"> <feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title }} - News</title> <title>{{ site.title }} - News</title>
<subtitle>{{ site.description }}</subtitle> <subtitle>{{ site.description }}</subtitle>
<updated>{{ site.time | date_to_xmlschema }}</updated> <pubDate>{{ site.time | date_to_xmlschema }}</pubDate>
<link href="{{ site.url }}/"/> <link href="{{ site.url }}/"/>
<link href="{{ site.url }}/feed.xml" rel="self"/> <link href="{{ site.url }}/feed.xml" rel="self"/>
{% 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>
<content type="html">{{ post.content | xml_escape }}</content> <content type="html">{{ post.content | xml_escape }}</content>
<published>{{ post.date | date_to_xmlschema }}</published> <pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
<link href="{{ site.url }}/news/"/> <link href="{{ site.url }}/news/"/>
</entry> </entry>
{% endfor %} {% endfor %}