blob: 7596b02d398ae0eb864c5ac9bf0d83cc8c59aa9e (
plain) (
blame)
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
26
27
28
29
30
31
32
33
34
|
<?xml version="1.0" encoding="UTF-8" ?>
{#- The RSS feed at /feed.xml. A feed is read away from the site that served it, so
every URL here is absolute — which is what `| absolute` needs [site] base_url for.
<description> carries each post's full rendered HTML — the collection sets
`include_content` to ask for it. #}
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title }}</title>
<atom:link href="{{ page.url | absolute }}" rel="self" type="application/rss+xml" />
<link>{{ "index.html" | absolute | replace("index.html", "") }}</link>
<description>{{ site.description }}</description>
<language>{{ site.language }}</language>
<webMaster>[email protected] (Christian Cleberg)</webMaster>
{%- for post in pages %}
<item>
<title>{{ post.title }}</title>
<link>{{ post.url | absolute }}</link>
<guid isPermaLink="true">{{ post.url | absolute }}</guid>
<author>[email protected] (Christian Cleberg)</author>
{%- if post.date_iso %}
<pubDate>{{ post.date_iso | rfc822 }}</pubDate>
{%- endif %}
{%- for tag in post.tags %}
<category>{{ tag }}</category>
{%- endfor %}
<description><![CDATA[{{ post.content | safe }}]]></description>
</item>
{%- endfor %}
</channel>
</rss>
|