Permalink
Browse files

used site.url in atom feed

  • Loading branch information...
1 parent 8956c00 commit 24d3037eece5a952ee33c3402e0cc8aa266f1ca6 @veganstraightedge committed Dec 21, 2010
Showing with 7 additions and 6 deletions.
  1. +1 −0 _config.yml
  2. +6 −6 atom.xml
View
1 _config.yml
@@ -2,3 +2,4 @@ pygments: true
permalink: /:year/:month/:title
title: No More Sharecropping!
subtitle: Own your data. Snowflake distribute. Beholden to no one.
+url: http://nomoresharecropping.org
View
12 atom.xml
@@ -5,11 +5,11 @@ permalink: feed
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
- <title>No More Sharecropping!</title>
- <link href="http://nomoresharecropping.org/atom.xml" rel="self"/>
- <link href="http://nomoresharecropping.org/"/>
+ <title>{{ site.title }}</title>
+ <link href="{{ site.url }}/atom.xml" rel="self"/>
+ <link href="{{ site.url }}/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
- <id>http://nomoresharecropping.org/</id>
+ <id>{{ site.url }}</id>
<author>
<name>Shane Becker</name>
<email>veganstraightedge@gmail.com</email>
@@ -18,9 +18,9 @@ permalink: feed
{% for post in site.posts %}
<entry>
<title>{{ post.title }}</title>
- <link href="http://nomoresharecropping.org{{ post.url }}"/>
+ <link href="{{ site.url }}{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
- <id>http://nomoresharecropping.org{{ post.id }}</id>
+ <id>{{ site.url }}{{ post.id }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endfor %}

0 comments on commit 24d3037

Please sign in to comment.