Fixed URL links in RSS feed

This commit is contained in:
Barry Clark 2014-06-01 14:54:52 -04:00
parent 59d4012584
commit 790d93f3ed
1 changed files with 4 additions and 4 deletions

View File

@ -6,15 +6,15 @@ layout: none
<channel>
<title>{{ site.name | xml_escape }}</title>
<description>{{ site.description | xml_escape }}</description>
<link>{{ site.footer-links.rss }}</link>
<atom:link href="{{ site.footer-links.rss }}/feed.xml" rel="self" type="application/rss+xml" />
<link>{{ site.url }}</link>
<atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
{% for post in site.posts limit:10 %}
<item>
<title>{{ post.title | xml_escape }}</title>
<description>{{ post.content | xml_escape }}</description>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<link>{{ site.footer-links.rss }}/{{ post.url }}</link>
<guid isPermaLink="true">{{ site.footer-links.rss }}/{{ post.url }}</guid>
<link>{{ site.url }}/{{ post.url }}</link>
<guid isPermaLink="true">{{ site.url }}/{{ post.url }}</guid>
</item>
{% endfor %}
</channel>