-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathblog.xml
More file actions
36 lines (33 loc) · 1.33 KB
/
Copy pathblog.xml
File metadata and controls
36 lines (33 loc) · 1.33 KB
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
---
noindex: true
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Rowan Manning's Blog</title>
<link href="http://{{ site.data.meta.hostname }}{{ page.url }}" rel="self"/>
<link href="http://{{ site.data.meta.hostname }}/"/>
<updated>{{ site.time | date: '%Y-%m-%dT%H:%M:%SZ' }}</updated>
<id>http://{{ site.data.meta.hostname }}{{ page.url }}</id>
<author>
<name>Rowan Manning</name>
<uri>http://{{ site.data.meta.hostname }}/</uri>
</author>
{% for post in site.posts %}
{% if post.noindex != true %}
<entry>
<title>{{ post.title }}</title>
<link href="http://{{ site.data.meta.hostname }}{{ post.url }}"/>
<published>{{ post.date | date: '%Y-%m-%dT%H:%M:%SZ' }}</published>
<updated>
{% if post.lastmod %}
{{ post.lastmod | date: '%Y-%m-%dT%H:%M:%SZ' }}
{% else %}
{{ post.date | date: '%Y-%m-%dT%H:%M:%SZ' }}
{% endif %}
</updated>
<id>http://{{ site.data.meta.hostname }}{{ post.url }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endif %}
{% endfor %}
</feed>