-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfeed.xml
More file actions
25 lines (25 loc) · 1017 Bytes
/
feed.xml
File metadata and controls
25 lines (25 loc) · 1017 Bytes
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
---
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}}</title>
<link>{{site.domainUrl | append: site.baseurl }}</link>
<description>{{site.description}}</description>
<language>zh-CN</language>
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
<lastBuildDate>{{site.time | date_to_rfc822}}</lastBuildDate>
<generator>Jekyll v{{ jekyll.version }}</generator>
<atom:link href="{{ site.domainUrl | append: site.baseurl }}/static/xml/rss.xml" rel="self" type="application/rss+xml" />
{%- for post in site.posts %}
<item>
<title>{{post.title | escape}}</title>
<link>{{site.domainUrl | append: site.baseurl | append: post.url}}</link>
<description>{{post.content}}</description>
<pubDate>{{post.date | date_to_rfc822}}</pubDate>
<gui>{{site.domainUrl | append: site.baseurl | append: post.url}}</gui>
</item>
{%- endfor %}
</channel>
</rss>