mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-12-22 00:26:02 +00:00
Move feed footer to an include
This commit is contained in:
parent
f7fa0f63bb
commit
46ed690c2f
2 changed files with 5 additions and 2 deletions
1
_includes/feed-footer.html
Normal file
1
_includes/feed-footer.html
Normal file
|
@ -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
feed.xml
6
feed.xml
|
@ -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 }}
|
||||
<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></content>
|
||||
<content type="html">
|
||||
{{ post.content | xml_escape }}
|
||||
{% include feed-footer.html %}
|
||||
</content>
|
||||
</entry>
|
||||
{% endfor %}
|
||||
</feed>
|
Loading…
Reference in a new issue