templates/atom.xml
---
layout: nil
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>{{ site.url }}</id>
<title><![CDATA[{{ site.name }}]]></title>
<updated>{{ site.time | date_to_xmlschema }}</updated>
{% if site.author %}
<author>
<name><![CDATA[{{ site.author }}]]></name>
{% if site.email %}<email><![CDATA[{{ site.email }}]]></email>{% endif %}
</author>
{% endif %}
<link href="{{ site.url }}/atom.xml" rel="self" />
{% for post in site.posts %}
<entry>
<id>{{ site.url }}{{ post.id }}</id>
<title><![CDATA[{{ post.title }}]]></title>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<link href="{{ site.url }}{{ post.url }}" />
<content type="html"><![CDATA[{{ post.content }}]]></content>
</entry>
{% endfor %}
</feed>