File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ title : Atom Feed
6
6
<feed xmlns =" http://www.w3.org/2005/Atom" >
7
7
8
8
<title >{{ site.title | xml_escape }}</title >
9
- <link href =" {{ site.production_url }}/ {{ site.atom_path }}" rel =" self" />
9
+ <link href =" {{ site.production_url }}{{ site.JB .atom_path }}" rel =" self" />
10
10
<link href =" {{ site.production_url }}" />
11
11
<updated >{{ site.time | date_to_xmlschema }}</updated >
12
12
<id >{{ site.production_url }}</id >
@@ -15,7 +15,7 @@ title : Atom Feed
15
15
<email >{{ site.author.email }}</email >
16
16
</author >
17
17
18
- {% for post in site.posts %}
18
+ {% for post in site.posts limit:20 %}
19
19
<entry >
20
20
<title >{{ post.title | xml_escape }}</title >
21
21
<link href =" {{ site.production_url }}{{ post.url }}" />
Original file line number Diff line number Diff line change @@ -4,23 +4,23 @@ title : RSS Feed
4
4
---
5
5
6
6
<?xml version =" 1.0" encoding =" UTF-8" ?>
7
- <rss version =" 2.0" >
7
+ <rss version =" 2.0" xmlns : atom = " http://www.w3.org/2005/Atom " >
8
8
<channel >
9
9
<title >{{ site.title | xml_escape }}</title >
10
10
<description >{{ site.title | xml_escape }} - {{ site.author.name | xml_escape }}</description >
11
- <link >{{ site.production_url }}{{ site.rss_path }}</link >
12
11
<link >{{ site.production_url }}</link >
13
- <lastBuildDate >{{ site.time | date_to_xmlschema }}</lastBuildDate >
14
- <pubDate >{{ site.time | date_to_xmlschema }}</pubDate >
15
- <ttl >1800</ttl >
12
+ <atom : link href =" {{ site.production_url }}{{ site.JB.rss_path }}" rel =" self" type =" application/rss+xml" />
13
+ <lastBuildDate >{{ site.time | date_to_rfc822 }}</lastBuildDate >
14
+ <pubDate >{{ site.time | date_to_rfc822 }}</pubDate >
15
+ <ttl >60</ttl >
16
16
17
- {% for post in site.posts %}
17
+ {% for post in site.posts limit:20 %}
18
18
<item >
19
19
<title >{{ post.title | xml_escape }}</title >
20
20
<description >{{ post.content | xml_escape }}</description >
21
21
<link >{{ site.production_url }}{{ post.url }}</link >
22
22
<guid >{{ site.production_url }}{{ post.id }}</guid >
23
- <pubDate >{{ post.date | date_to_xmlschema }}</pubDate >
23
+ <pubDate >{{ post.date | date_to_rfc822 }}</pubDate >
24
24
</item >
25
25
{% endfor %}
26
26
You can’t perform that action at this time.
0 commit comments