RSS feed option added
[jekyll-now.git] / feed.xml
blob899221ceb8ccb167ffb9e75694a0dba897a6a3e7
1 ---
2 layout: none
3 ---
4 <?xml version="1.0" encoding="UTF-8"?>
5 <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
6   <channel>
7     <title>{{ site.name | xml_escape }}</title>
8     <description>{{ site.description | xml_escape }}</description>
9     <link>{{ site.footer-links.rss }}</link>
10     <atom:link href="{{ site.footer-links.rss }}/feed.xml" rel="self" type="application/rss+xml" />
11     {% for post in site.posts limit:10 %}
12       <item>
13         <title>{{ post.title | xml_escape }}</title>
14         <description>{{ post.content | xml_escape }}</description>
15         <pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
16         <link>{{ site.footer-links.rss }}/{{ post.url }}</link>
17         <guid isPermaLink="true">{{ site.footer-links.rss }}/{{ post.url }}</guid>
18       </item>
19     {% endfor %}
20   </channel>
21 </rss>