-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeed.xml
More file actions
21 lines (20 loc) · 723 Bytes
/
Copy pathfeed.xml
File metadata and controls
21 lines (20 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
layout: none
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title }}</title>
<link href="{{ site.url }}{{ site.baseurl }}/feed.xml" rel="self"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ site.baseurl }}/</id>
{% assign all_posts = site.blog | concat: site.writeups | sort: 'date' | reverse %}
{% for post in all_posts %}
<entry>
<title>{{ post.title }}</title>
<link href="{{ site.url }}{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ post.url }}</id>
<summary>{{ post.excerpt | strip_html | xml_escape }}</summary>
</entry>
{% endfor %}
</feed>