beautifulSA-jekyll/feed.xml

25 lines
942 B
XML
Raw Normal View History

2015-03-02 21:06:05 +01:00
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
2015-03-03 10:03:01 +01:00
<title>{{ site.title | xml_escape }}</title>
2015-03-02 21:06:05 +01:00
<description>{{ site.description | xml_escape }}</description>
<link>{{ '' | absolute_url }}</link>
<atom:link href="{{ 'feed.xml' | absolute_url }}" rel="self" type="application/rss+xml" />
2015-03-15 22:20:10 +01:00
{% for post in site.posts limit:20 %}
2015-03-02 21:06:05 +01:00
<item>
<title>{{ post.title | xml_escape }}</title>
2015-03-15 22:20:10 +01:00
<description>
{% if post.subtitle %}{{ post.subtitle | xml_escape }} - {% endif %}
{{ post.content | strip_html | xml_escape | truncatewords: 50 }}
</description>
2015-03-02 21:06:05 +01:00
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<link>{{ post.url | absolute_url }}</link>
<guid isPermaLink="true">{{ post.url | absolute_url }}</guid>
2015-03-02 21:06:05 +01:00
</item>
{% endfor %}
</channel>
2015-03-15 22:20:10 +01:00
</rss>