Permalink
Browse files

Set xml:base for each post in Atom feed.

  • Loading branch information...
1 parent 206ea01 commit 357e1ed909c7669d3ebb92d6cf4e9539b00ae3ff @jasoncodes committed Feb 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 atom.xml
View
@@ -23,7 +23,7 @@ layout: nil
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.last_modified | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ post.id }}</id>
- <content type="html">{{ post.content | xml_escape }}</content>
+ <content type="html" xml:base="{{ site.url }}{{ post.id }}">{{ post.content | xml_escape }}</content>
</entry>
{% endfor %}

0 comments on commit 357e1ed

Please sign in to comment.