-
Notifications
You must be signed in to change notification settings - Fork 1
/
feed.xml
21 lines (21 loc) · 922 Bytes
/
feed.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.data.website.title | xml_escape }}</title>
<description>{{ site.data.website.description | xml_escape }}</description>
<link>{{ site.url }}{{ site.baseurl }}/</link>
<atom:link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml" />
{% for chapter in site.chapters limit:10 %}
<item>
<title>{{ chapter.title | xml_escape }}</title>
<description>{{ chapter.summary | default: chapter.scene | xml_escape }}</description>
<pubDate>{{ chapter.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<link>{{ chapter.url | absolute_url }}</link>
<guid isPermaLink="true">{{ chapter.url | absolute_url }}</guid>
</item>
{% endfor %}
</channel>
</rss>