Fix RSS feed not transforming input path
This commit is contained in:
parent
f9fdb7ae23
commit
26aa6ba2e1
|
@ -12,7 +12,7 @@ eleventyComputed:
|
||||||
<subtitle>{{ sitemeta.siteDescription }}</subtitle>
|
<subtitle>{{ sitemeta.siteDescription }}</subtitle>
|
||||||
<link href="{{ sitemeta.feedUrl }}" rel="self"/>
|
<link href="{{ sitemeta.feedUrl }}" rel="self"/>
|
||||||
<link href="{{ sitemeta.siteUrl }}"/>
|
<link href="{{ sitemeta.siteUrl }}"/>
|
||||||
<updated>{{ collections.feedItems | getNewestCollectionItemDate | dateToRfc3339 }}</updated>
|
<updated>{{ collections["feed items"] | getNewestCollectionItemDate | dateToRfc3339 }}</updated>
|
||||||
<id>{{ feedMeta.baseUrl }}</id>
|
<id>{{ feedMeta.baseUrl }}</id>
|
||||||
<author>
|
<author>
|
||||||
<name>{{ sitemeta.siteAuthor.name }}</name>
|
<name>{{ sitemeta.siteAuthor.name }}</name>
|
||||||
|
@ -25,7 +25,7 @@ eleventyComputed:
|
||||||
<link href="{{ feedMeta.baseUrl if absolutePostUrl.includes("false") else absolutePostUrl }}"/>
|
<link href="{{ feedMeta.baseUrl if absolutePostUrl.includes("false") else absolutePostUrl }}"/>
|
||||||
<updated>{{ item.date | dateToRfc3339 }}</updated>
|
<updated>{{ item.date | dateToRfc3339 }}</updated>
|
||||||
<id>{{ feedMeta.baseUrl if absolutePostUrl.includes("false") else absolutePostUrl }}</id>
|
<id>{{ feedMeta.baseUrl if absolutePostUrl.includes("false") else absolutePostUrl }}</id>
|
||||||
<content type="html">{{ item.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }}</content>
|
<content type="html">{{ item.content | renderTransforms(item.data.page, feedMeta.baseUrl) }}</content>
|
||||||
</entry>
|
</entry>
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</feed>
|
</feed>
|
Loading…
Reference in New Issue