forked from tokkonopapa/jekyll-experiment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrss.xml
25 lines (22 loc) · 749 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
---
layout: nil
---
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>{{ site.title }}</title>
<link>{{ site.url }}/</link>
<description>{{ site.title }}{% if site.description %} - {{ site.description }}{% endif %}</description>
<lastBuildDate>{{ site.date | date: "%a, %d %b %Y %H:%M:%S +0100" }}</lastBuildDate>
<copyright>{{ site.author }}</copyright>
{% for post in site.posts limit: 20 %}
<item>
<title><![CDATA[{{ post.title }}]]></title>
<link>{{ site.url }}{{ post.url }}</link>
<author>{{ site.author }} ({{ site.email }})</author>
<guid>{{ post.id }}</guid>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S +0100" }}</pubDate>
</item>
{% endfor %}
</channel>
</rss>