-
Notifications
You must be signed in to change notification settings - Fork 0
/
feed.xml
38 lines (38 loc) · 1.55 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
37
38
---
permalink: /feed.xml
---
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title type="text" xml:lang="en">{{ site.title }}</title>
<atom:link type="application/atom+xml" href="{{ site.url }}/feed.xml" rel="self"/>
<generator>Jekyll v{{ jekyll.version }}</generator>
<link rel="self" type="application/atom+xml" href="{{ site.url }}/feed.xml"/>
<link rel="alternate" type="text/html" href="{{ site.url }}"/>
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<language>en-US</language>
<author>
<name>{{ site.owner.name }}</name>
<uri>{{ site.url }}/</uri>
<email>{{ site.owner.email }}</email>
</author>
{% for post in site.posts limit:20 %}
{% if post.pubDate %}
{% assign pubDate = post.pubDate | date_to_rfc822 %}
{% else %}
{% assign pubDate = post.date | date_to_rfc822 %}
{% endif %}
<item>
<title>{{ post.title | xml_escape }}</title>
<description>{{ post.content | xml_escape}}</description>
{% for tag in post.tags %}
<category>{{ tag }}</category>
{% endfor %}
<pubDate>{{ pubDate }}</pubDate>
<link>{{ site.url }}/{{ post.url }}</link>
<guid isPermaLink="true">{{ site.url }}/{{ post.url }}</guid>
</item>
{% endfor %}
</channel>
</rss>