-
Notifications
You must be signed in to change notification settings - Fork 1
/
rss.xml
33 lines (33 loc) · 987 Bytes
/
rss.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
33
---
layout: nil
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>{{ site.title }}</title>
<link>{{ site.url }}/</link>
<language>en-us</language>
<webMaster>{{ site.email }} ({{ site.author }})</webMaster>
<pubDate>{{ site.time | date_to_xmlschema }}</pubDate>
<ttl>60</ttl>
<description>{{ site.description }}</description>
{% for post in site.posts limit:10 %}
<item>
<title>{{ post.title }}</title>
<link>{{ site.url }}{{ post.url }}</link>
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
<guid>{{ site.url }}{{ post.url }}</guid>
<description>
<![CDATA[
{{ post.content }}
]]>
</description>
{% if post.tags.size > 0 %}
{% for tag in post.tags %}
<category><![CDATA[{{ tag | downcase }}]]></category>
{% endfor %}
{% endif %}
</item>
{% endfor %}
</channel>
</rss>