-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathfeed.xml
More file actions
25 lines (25 loc) · 953 Bytes
/
feed.xml
File metadata and controls
25 lines (25 loc) · 953 Bytes
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: minify
---
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<title>{{ site.title }} News</title>
<subtitle>{{ site.description }}</subtitle>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<link href="{{ site.url }}/"/>
<link href="{{ site.url }}/feed.xml" rel="self"/>
<id>{{ site.url }}/feed.xml</id>
{% for post in site.posts %}
<entry>
<title>{{ post.date | date: "%B %e, %Y" }}</title>
<author>
<name>{{ site.title }}</name>
</author>
<content type="html">{{ post.content | xml_escape }}</content>
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ site.url }}/news#{{ post.date | date: '%Y-%m-%d' }}-{{ post.title }}</id>
<link href="{{ site.url }}/news#{{ post.date | date: '%Y-%m-%d' }}-{{ post.title }}"/>
</entry>
{% endfor %}
</feed>