whitespace in feed

This commit is contained in:
Jonny Gerig Meyer 2023-04-06 11:54:48 -04:00
parent 2548efea42
commit b95ecb2e81
No known key found for this signature in database

View File

@ -10,8 +10,8 @@ eleventyExcludeFromCollections: true
<link href="{{ page.url | absoluteUrl: site.url }}" rel="self"/>
<updated>{{ collections.blog | getNewestCollectionItemDate | dateToRfc3339 }}</updated>
{%- assign posts = collections.blog | reverse -%}
{%- for post in posts limit:6 %}
{%- assign absolutePostUrl = post.url | absoluteUrl: site.url -%}
{%- for post in posts limit:6 -%}
{%- assign absolutePostUrl = post.url | absoluteUrl: site.url %}
<entry>
<title>{{ post.data.title }}</title>
<link href="{{ absolutePostUrl }}" rel="alternate"/>
@ -22,6 +22,5 @@ eleventyExcludeFromCollections: true
<name>{{ post.data.author }}</name>
</author>
<content type="html">{{ post.templateContent | htmlToAbsoluteUrls: absolutePostUrl | escape }}</content>
</entry>
{% endfor -%}
</entry>{% endfor %}
</feed>