-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathatom.xml
32 lines (30 loc) · 922 Bytes
/
atom.xml
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
32
---
layout: nil
---
<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Jon's Development Blog</title>
<link rel="self" href="/atom.xml" />
<link href="http://jonforums.github.io/" />
<updated>{{ site.time | to_xmlschema }}</updated>
<id>http://jonforums.github.com/</id>
<author>
<name>Jon</name>
</author>
{% for post in site.posts %}
<entry>
<title>{{ post.title }}</title>
<link href="http://jonforums.github.io{{ post.url }}" />
<id>http://jonforums.github.com{{ post.id }}</id>
<updated>
{% if post.updated %}
{{ post.updated | to_xmlschema }}
{% else %}
{{ post.date | to_xmlschema }}
{% endif %}
</updated>
<summary>{{ post.content | truncatewords: 20 | strip_html }}</summary>
<category term="{{ post.categories[0] }}" label="{{ post.categories[0] }}" />
</entry>
{% endfor %}
</feed>