File tree Expand file tree Collapse file tree 2 files changed +30
-27
lines changed Expand file tree Collapse file tree 2 files changed +30
-27
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <rss version =" 2.0" xmlns : atom =" http://www.w3.org/2005/Atom" >
3
+ <channel >
4
+ <title >{{ site.title | xml_escape }}</title >
5
+ <description >{{ site.description | xml_escape }}</description >
6
+ <link >{{ site.url }}{{ site.baseurl }}/</link >
7
+ <atom : link href =" {{ " /feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel =" self" type =" application/rss+xml" />
8
+ <pubDate >{{ site.time | date_to_rfc822 }}</pubDate >
9
+ <lastBuildDate >{{ site.time | date_to_rfc822 }}</lastBuildDate >
10
+ <generator >Jekyll v{{ jekyll.version }}</generator >
11
+ {% for post in site.posts limit:10 %}
12
+ <item >
13
+ <title >{{ post.title | xml_escape }}</title >
14
+ <description >{{ post.content | xml_escape }}</description >
15
+ <pubDate >{{ post.date | date_to_rfc822 }}</pubDate >
16
+ <link >{{ post.url | prepend: site.baseurl | prepend: site.url }}</link >
17
+ <guid isPermaLink =" true" >{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid >
18
+ {% for tag in post.tags %}
19
+ <category >{{ tag | xml_escape }}</category >
20
+ {% endfor %}
21
+ {% for cat in post.categories %}
22
+ <category >{{ cat | xml_escape }}</category >
23
+ {% endfor %}
24
+ </item >
25
+ {% endfor %}
26
+ </channel >
27
+ </rss >
Original file line number Diff line number Diff line change 1
- <?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <rss version =" 2.0" xmlns : atom =" http://www.w3.org/2005/Atom" >
3
- <channel >
4
- <title >{{ site.title | xml_escape }}</title >
5
- <description >{{ site.description | xml_escape }}</description >
6
- <link >{{ site.url }}{{ site.baseurl }}/</link >
7
- <atom : link href =" {{ " /feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel =" self" type =" application/rss+xml" />
8
- <pubDate >{{ site.time | date_to_rfc822 }}</pubDate >
9
- <lastBuildDate >{{ site.time | date_to_rfc822 }}</lastBuildDate >
10
- <generator >Jekyll v{{ jekyll.version }}</generator >
11
- {% for post in site.posts limit:10 %}
12
- <item >
13
- <title >{{ post.title | xml_escape }}</title >
14
- <description >{{ post.content | xml_escape }}</description >
15
- <pubDate >{{ post.date | date_to_rfc822 }}</pubDate >
16
- <link >{{ post.url | prepend: site.baseurl | prepend: site.url }}</link >
17
- <guid isPermaLink =" true" >{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid >
18
- {% for tag in post.tags %}
19
- <category >{{ tag | xml_escape }}</category >
20
- {% endfor %}
21
- {% for cat in post.categories %}
22
- <category >{{ cat | xml_escape }}</category >
23
- {% endfor %}
24
- </item >
25
- {% endfor %}
26
- </channel >
27
- </rss >
1
+ ---
2
+ layout: feed
3
+ ---
You can’t perform that action at this time.
0 commit comments