mirror of
https://github.com/danog/sass-site.git
synced 2025-01-22 13:51:46 +01:00
whitespace in feed
This commit is contained in:
parent
2548efea42
commit
b95ecb2e81
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user