-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathatom.xml
More file actions
31 lines (27 loc) · 934 Bytes
/
atom.xml
File metadata and controls
31 lines (27 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
---
<?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 }}/atom.xml" rel="self"/>
<link href="{{ site.url }}/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url | xml_escape }}</id>
{% if site.author and site.author.name %}
<author>
<name>{{ site.author.name | xml_escape }}</name>
{% if site.author.email %}
<email>{{ site.author.email | xml_escape }}</email>
{% endif %}
</author>
{% endif %}
{% for post in site.posts %}
<entry>
<title>{{ post.title | xml_escape }}</title>
<link href="{{ site.url | append: post.url | xml_escape }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ site.url | append: post.url | xml_escape }}</id>
<content type="html"><![CDATA[{{ post.content }}]]></content>
</entry>
{% endfor %}
</feed>