website/feed.xml
2019-12-01 07:50:40 +02:00

31 lines
989 B
XML

---
layout: minify
---
{% capture time_seed %}
{{ 'now' | date: "%s" }}
{% endcapture %}
{% assign random = time_seed | times: 1103515245 | plus: 12345 | divided_by: 65536 | modulo: 32768 | modulo: 10 %}
<?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 type="html">{{ post.content | xml_escape }}</content>
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ post.url }}</id>
<link href="{{ site.url }}/news/"/>
</entry>
{% endfor %}
</feed>