forked from mmistakes/made-mistakes-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
paperfaces-feed.xml
49 lines (44 loc) · 1.48 KB
/
paperfaces-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
40
41
42
43
44
45
46
47
48
49
---
layout:
limit: 25
sitemap: false
---
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
{% if site.url %}
{% assign base = site.url %}
{% elsif site.github.url %}
{% assign base = site.github.url %}
{% endif %}
<title>{{ site.title }} – PaperFaces Portraits</title>
<generator uri="https://github.com/jekyll/jekyll">Jekyll v{{ jekyll.version }}</generator>
<icon>{{ site.url }}/apple-touch-icon-precomposed.png</icon>
<subtitle>{{ site.description }}</subtitle>
<link href="{{ base }}{{ page.url }}" rel="self"/>
<link href="{{ base }}/" rel="alternate" type="text/html"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ base }}/</id>
<author>
<name>{{ site.owner.name | xml_escape }}</name>
<uri>{{ site.url }}/</uri>
{% if site.owner.email %}<email>{{ site.owner.email }}</email>{% endif %}
</author>
{% for post in site.categories.paperfaces limit: page.limit %}
<entry>
<title>{{ post.title | xml_escape }}</title>
<link href="{{ base }}{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ base }}{{ post.id }}</id>
<author>
<name>{{ site.owner.name | xml_escape }}</name>
<uri>{{ site.url }}/</uri>
{% if site.owner.email %}<email>{{ site.owner.email }}</email>{% endif %}
</author>
<content type="html">
{% if post.image.feature %}{% include feed-feature-image.html %}{% endif %}
{{ post.content | xml_escape }}
{% include feed-footer.html %}
</content>
</entry>
{% endfor %}
</feed>