forked from memfault/interrupt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
feed.xml
39 lines (37 loc) · 1.44 KB
/
feed.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
layout: null
---
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>{{ site.title | xml_escape }}</title>
<link>{{ site.url | xml_escape }}</link>
<description>{{ site.description | xml_escape }}</description>
<pubDate>{{ site.posts[0].date | date_to_xmlschema }}</pubDate>
<lastBuildDate>{{ site.time | date_to_xmlschema }}</lastBuildDate>
{% for post in site.posts %}
<item>
<title>{{ post.title | xml_escape }}</title>
<link>{{ post.url | absolute_url | xml_escape }}</link>
<description>
{{ post.excerpt | xml_escape }}
{% capture continue_reading %}
<p>
<a href="{{ post.url | absolute_url | xml_escape }}"><strong>Continue reading…</strong></a>
<p>
{% endcapture %}
{{ continue_reading | xml_escape }}
</description>
<guid>{{ post.url | absolute_url | xml_escape }}</guid>
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
{% assign author = site.data.authors[post.author] %}
{% if author %}
<author>
<name>{{ author.name | default: "" | xml_escape }}</name>
<uri>{{ author.web | xml_escape }}</uri>
</author>
{% endif %}
</item>
{% endfor %}
</channel>
</rss>