-
Notifications
You must be signed in to change notification settings - Fork 0
/
feed.xml
31 lines (30 loc) · 1.12 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
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title | xml_escape }}</title>
<atom:link href="{{ '/feed.xml' | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml"/>
<link>{{ site.baseurl | prepend: site.url }}/</link>
<description>{{ site.description | xml_escape }}</description>
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
{% for post in site.posts limit:15 %}
{% include page-url-resolver.html page=post %}
<item>
<title>{{ post.title | append: ' | ' | append: site.title | xml_escape }}</title>
{% if post.eye_catch %}
<image>
<url>{{ post.eye_catch }}</url>
<title>{{ post.title }}</title>
<link>{{ site.url }}</link>
</image>
{% endif %}
<link>{{ url }}</link>
<guid isPermaLink="true">{{ url }}</guid>
<description>{{ post.content | xml_escape }}</description>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
</item>
{% endfor %}
</channel>
</rss>