-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
feed.xml
36 lines (36 loc) · 1.47 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
---
layout: atom
permalink: /feed.xml
sitemap:
changefreq: weekly
priority: 1.0
---
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xml" href="{{ '/feed.xslt.xml' | absolute_url }}"?>
<feed xmlns="http://www.w3.org/2005/Atom" >
<link href="{{ '/feed.xml' | absolute_url }}" rel="self" type="application/atom+xml" />
<link href="{{ site.url | absolute_url }}" rel="alternate" type="text/html" />
<title type="html">{{ site.title }}</title>
<subtitle>{{ site.description }}</subtitle>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url | absolute_url }}</id>
<author>
<name>{{ site.author.name }}</name>
<email>{{ site.author.email }}</email>
<uri>{{ site.author.uri }}</uri>
</author>
{%- for collection in site.collections -%}
{%- for post in collection.docs -%}
{% unless collection.output == false or collection.label == "pages" %}
<entry>
<title type="html">{{ post.title }}</title>
<link href="{{ post.url | absolute_url }}" rel="alternate" type="text/html" title="{{ post.title }}" />
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.last_modified_at | date_to_xmlschema }}</updated>
<id>{{ post.url | absolute_url }}</id>
<content type="html" xml:base="{{ post.url | absolute_url }}">{{ post.excerpt | xml_escape | strip_newlines }}</content>
</entry>
{%- endunless -%}
{%- endfor -%}
{% endfor %}
</feed>