Now RSS feed always has a permalink at the end of an article, just like

posts always show permalinks.
This commit is contained in:
Brandon Mathis 2012-02-14 14:52:30 -06:00
parent 382c557e21
commit 7c7d3b8476

View File

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