website/feed.xml
2019-12-01 08:45:47 +02:00

26 lines
953 B
XML

---
layout: minify
---
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title }} News</title>
<subtitle>{{ site.description }}</subtitle>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<link href="{{ site.url }}/"/>
<link href="{{ site.url }}/feed.xml" rel="self"/>
<id>{{ site.url }}/feed.xml</id>
{% for post in site.posts %}
<entry>
<title>{{ post.date | date: "%B %e, %Y" }}</title>
<author>
<name>{{ site.title }}</name>
</author>
<content>{{ post.content | strip_html }}</content>
<content:encoded>{{ post.content | xml_escape }}</content:encoded>
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ site.url }}/news#{{ post.date | date: '%Y-%m-%d' }}-{{ post.title }}</id>
<link href="{{ site.url }}/news#{{ post.date | date: '%Y-%m-%d' }}-{{ post.title }}"/>
</entry>
{% endfor %}
</feed>