From 46ed690c2f3fc589c77dab9b1cb947e7a35cae14 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 30 Jan 2015 09:36:27 -0500 Subject: [PATCH] Move feed footer to an include --- _includes/feed-footer.html | 1 + feed.xml | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 _includes/feed-footer.html diff --git a/_includes/feed-footer.html b/_includes/feed-footer.html new file mode 100644 index 0000000..02a94f6 --- /dev/null +++ b/_includes/feed-footer.html @@ -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> \ No newline at end of file diff --git a/feed.xml b/feed.xml index e3f7f01..9938c5b 100644 --- a/feed.xml +++ b/feed.xml @@ -33,8 +33,10 @@ sitemap: false {{ site.url }} {% if author.email %}{{ author.email }}{% endif %} - {{ post.content | xml_escape }} - <p><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a> was originally published by {{ author.name }} at <a href="{{ site.url }}">{{ site.title }}</a> on {{ post.date | date: "%B %d, %Y" }}.</p> + + {{ post.content | xml_escape }} + {% include feed-footer.html %} + {% endfor %} \ No newline at end of file