Browse code

Update atom.xml to use site.title and expand_urls

Stephen Tudor authored on 04/08/2011 at 13:31:20
Showing 1 changed files
... ...
@@ -4,7 +4,7 @@ layout: nil
4 4
 <?xml version="1.0" encoding="utf-8"?>
5 5
 <feed xmlns="http://www.w3.org/2005/Atom">
6 6
 
7
-  <title>{{ site.blog_title }}</title>
7
+  <title>{{ site.title }}</title>
8 8
   <link href="{{ site.url }}/atom.xml" rel="self"/>
9 9
   <link href="{{ site.url }}/"/>
10 10
   <updated>{{ site.time | date_to_xmlschema }}</updated>
... ...
@@ -22,7 +22,7 @@ layout: nil
22 22
     <link href="{{ site.url }}{{ post.url }}"/>
23 23
     <updated>{{ post.date | date_to_xmlschema }}</updated>
24 24
     <id>{{ site.url }}{{ post.id }}</id>
25
-    <content type="html">{{ post.content | full_urls: site.url | xml_escape }}</content>
25
+    <content type="html">{{ post.content | expand_urls: site.url | xml_escape }}</content>
26 26
   </entry>
27 27
   {% endfor %}
28 28
 </feed>