-
Notifications
You must be signed in to change notification settings - Fork 3
/
rss.xml
27 lines (25 loc) · 961 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
---
layout: nil
---
<?xml version="1.0"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.main_title }}</title>
<link>{{ site.base_url }}</link>
<atom:link href="{{ site.base_url }}/feed/" rel="self" type="application/rss+xml" />
<description>{{ site.main_description }}</description>
<language>en-us</language>
<pubDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<lastBuildDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</lastBuildDate>
{% for post in site.posts limit:20 %}
<item>
<title>{{ post.title }}</title>
<link>{{ site.base_url }}{{ post.url }}</link>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<author>{{ site.author }}</author>
<guid>{{ site.base_url }}{{ post.id }}</guid>
<description>{{ post.content | xml_escape }}</description>
</item>
{% endfor %}
</channel>
</rss>