Skip to content

Commit

Permalink
Merge pull request #1 from groundh0g/jb-issues-157-215
Browse files Browse the repository at this point in the history
Incorporates plusjade#157 from @dieyushi and plusjade#215 from @Miguelos. In a nutshe…
  • Loading branch information
groundh0g committed May 25, 2015
2 parents 476a726 + 221a8f6 commit 3698e13
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions atom.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title : Atom Feed
<feed xmlns="http://www.w3.org/2005/Atom">

<title>{{ site.title | xml_escape }}</title>
<link href="{{ site.production_url }}/{{ site.atom_path }}" rel="self"/>
<link href="{{ site.production_url }}{{ site.JB.atom_path }}" rel="self"/>
<link href="{{ site.production_url }}"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.production_url }}</id>
Expand All @@ -15,7 +15,7 @@ title : Atom Feed
<email>{{ site.author.email }}</email>
</author>

{% for post in site.posts %}
{% for post in site.posts limit:20 %}
<entry>
<title>{{ post.title | xml_escape }}</title>
<link href="{{ site.production_url }}{{ post.url }}"/>
Expand Down
14 changes: 7 additions & 7 deletions rss.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ title : RSS Feed
---

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title | xml_escape }}</title>
<description>{{ site.title | xml_escape }} - {{ site.author.name | xml_escape }}</description>
<link>{{ site.production_url }}{{ site.rss_path }}</link>
<link>{{ site.production_url }}</link>
<lastBuildDate>{{ site.time | date_to_xmlschema }}</lastBuildDate>
<pubDate>{{ site.time | date_to_xmlschema }}</pubDate>
<ttl>1800</ttl>
<atom:link href="{{ site.production_url }}{{ site.JB.rss_path }}" rel="self" type="application/rss+xml" />
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
<ttl>60</ttl>

{% for post in site.posts %}
{% for post in site.posts limit:20 %}
<item>
<title>{{ post.title | xml_escape }}</title>
<description>{{ post.content | xml_escape }}</description>
<link>{{ site.production_url }}{{ post.url }}</link>
<guid>{{ site.production_url }}{{ post.id }}</guid>
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
</item>
{% endfor %}

Expand Down

0 comments on commit 3698e13

Please sign in to comment.