/
feed.html
25 lines (25 loc) · 863 Bytes
/
feed.html
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
---
---
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:atom="http://www.w3.org/2005/Atom"
>
<channel>
<title>{{ site.name }}</title>
<link href="{{ site.url }}/feed.html" rel="self" />
<link href="{{ site.url }}" />
<lastBuildDate>{{ site.time | date_to_xmlschema }}</lastBuildDate>
<webMaster>{{ site.email }}</webMaster>
{% for post in site.posts limit:10 %}
<item>
<title>{{ post.title | xml_escape }}</title>
<link href="{{ site.url }}{{ post.url }}"/>
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
<author>{{ site.author }}</author>
<guid>{{ site.url }}{{ post.id }}</guid>
<content:encoded><![CDATA[{{ post.content }}]]></content:encoded>
</item>
{% endfor %}
</channel>
</rss>