<entry>
  <title>{{ post.title | markdownify | strip_html | strip_newlines | xml_escape }}</title>
  <link href="{{ base }}{{ post.url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
  <published>{{ post.date | date_to_xmlschema }}</published>

  {% if post.modified %}
    <updated>{{ post.modified | date_to_xmlschema }}</updated>
  {% else %}
    <updated>{{ post.date | date_to_xmlschema }}</updated>
  {% endif %}

  <id>{{ base }}{{ post.id | xml_escape }}</id>
  <content type="html" xml:base="{{ base }}{{ post.url | xml_escape }}">
    {% if post.image.feature %}{% include feed-feature-image.xml %}{% endif %}
    {{ post.content | markdownify | xml_escape }}
  </content>

  {% include feed-author.xml %}

  {% if post.category %}
    <category term="{{ post.category | xml_escape }}" />
  {% endif %}

  {% for tag in post.tags %}
    <category term="{{ tag | xml_escape }}" />
  {% endfor %}

  {% if post.excerpt and post.excerpt != empty %}
    <summary type="text">{{ post.excerpt | markdownify | strip_html | strip_newlines | xml_escape }}</summary>
  {% endif %}
</entry>

<entry>
  <title>{{ post.title | markdownify | strip_html | strip_newlines | xml_escape }}</title>
  <link href="{{ base }}{{ post.url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
  <published>{{ post.date | date_to_xmlschema }}</published>

  {% if post.modified %}
    <updated>{{ post.modified | date_to_xmlschema }}</updated>
  {% else %}
    <updated>{{ post.date | date_to_xmlschema }}</updated>
  {% endif %}

  <id>{{ base }}{{ post.id | xml_escape }}</id>
  <content type="html" xml:base="{{ base }}{{ post.url | xml_escape }}">
    {% if post.image.feature %}{% include feed-feature-image.xml %}{% endif %}
    {{ post.content | markdownify | xml_escape }}
    {% include feed-footer.xml %}
  </content>

  {% include feed-author.xml %}

  {% if post.category %}
    <category term="{{ post.category | xml_escape }}" />
  {% endif %}

  {% for tag in post.tags %}
    <category term="{{ tag | xml_escape }}" />
  {% endfor %}

  {% if post.excerpt and post.excerpt != empty %}
    <summary type="text">{{ post.excerpt | markdownify | strip_html | strip_newlines | xml_escape }}</summary>
  {% endif %}
</entry>

Add feed footer to each entry
Add feed footer to each entry
