Skip to content

Commit

Permalink
Move feed footer to an include
Browse files Browse the repository at this point in the history
mmistakes committed Jan 30, 2015
1 parent f7fa0f6 commit 46ed690
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions _includes/feed-footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p><a href="{{ site.url }}{{ post.url }}">{{ post.title | xml_escape }}</a> was originally published by {{ site.owner.name }} at <a href="{{ site.url }}">{{ site.title }}</a> on {{ post.date | date: "%B %d, %Y" }}.</p>
6 changes: 4 additions & 2 deletions feed.xml
Original file line number Diff line number Diff line change
@@ -33,8 +33,10 @@ sitemap: false
<uri>{{ site.url }}</uri>
{% if author.email %}<email>{{ author.email }}</email>{% endif %}
</author>
<content type="html">{{ post.content | xml_escape }}
&lt;p&gt;&lt;a href=&quot;{{ site.url }}{{ post.url }}&quot;&gt;{{ post.title }}&lt;/a&gt; was originally published by {{ author.name }} at &lt;a href=&quot;{{ site.url }}&quot;&gt;{{ site.title }}&lt;/a&gt; on {{ post.date | date: "%B %d, %Y" }}.&lt;/p&gt;</content>
<content type="html">
{{ post.content | xml_escape }}
{% include feed-footer.html %}
</content>
</entry>
{% endfor %}
</feed>

0 comments on commit 46ed690

Please sign in to comment.