aboutsummaryrefslogtreecommitdiff
path: root/atom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'atom.xml')
-rw-r--r--atom.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/atom.xml b/atom.xml
new file mode 100644
index 0000000..b50e1c7
--- /dev/null
+++ b/atom.xml
@@ -0,0 +1,22 @@
+---
+layout: none
+---
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+ <title>{{ site.title | xml_escape }}</title>
+ <link href="{{ site.url | append: site.baseurl | append: '/atom.xml' }}"/>
+ <updated>{{ site.time | date_to_xmlschema }}</updated>
+ <id>{{ site.url | append: site.baseurl | append: '/atom.xml' }}</id>
+ <author>
+ <name>{{ site.author.name }}</name>
+ </author>
+ {% for post in site.posts limit:10 %}
+ <entry>
+ <title>{{ post.title | xml_escape }}</title>
+ <link href="{{ post.url | prepend: site.baseurl | prepend: site.url }}"/>
+ <id>{{ post.id }}</id>
+ <updated>{{ post.date | date_to_xmlschema }}</updated>
+ <summary>{{ post.content | xml_escape }}</summary>
+ </entry>
+ {% endfor %}
+</feed>