fixed variable accessing permalink label in atom.xml

This commit is contained in:
Brandon Mathis 2012-02-18 15:01:42 -06:00
parent 2cf6e5b2b9
commit 36bbdb6dfe

View File

@ -24,7 +24,7 @@ layout: nil
<link href="{{ title_url }}"/> <link href="{{ title_url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated> <updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ post.id }}</id> <id>{{ site.url }}{{ post.id }}</id>
{% capture content %}{{ post.content | expand_urls: site.url | cdata_escape }}<p><a rel="bookmark" href="{{ site.url }}{{ post.url }}">{{ site.feed_permalink_label }}</a></p>{% endcapture %} {% capture content %}{{ post.content | expand_urls: site.url | cdata_escape }}<p><a rel="bookmark" href="{{ site.url }}{{ post.url }}">{{ site.permalink_label_feed }}</a></p>{% endcapture %}
<content type="html"><![CDATA[{{ content }}]]></content> <content type="html"><![CDATA[{{ content }}]]></content>
</entry> </entry>
{% endfor %} {% endfor %}