fix(rss): add posts with both types event + news as feed items
This commit is contained in:
parent
f69296f1ad
commit
a0983633e2
@ -19,7 +19,7 @@
|
|||||||
<atom:link href="{{ permalink | htmlBaseUrl(metadata.base) }}" rel="self" type="application/rss+xml" />
|
<atom:link href="{{ permalink | htmlBaseUrl(metadata.base) }}" rel="self" type="application/rss+xml" />
|
||||||
<description>{{ metadata.description }}</description>
|
<description>{{ metadata.description }}</description>
|
||||||
<language>{{ metadata.language or page.lang }}</language>
|
<language>{{ metadata.language or page.lang }}</language>
|
||||||
{%- for post in collections.news %}
|
{%- for post in collections.posts %}
|
||||||
{%- set absolutePostUrl = post.url | htmlBaseUrl(metadata.base) %}
|
{%- set absolutePostUrl = post.url | htmlBaseUrl(metadata.base) %}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ post.data.title }}</title>
|
<title>{{ post.data.title }}</title>
|
||||||
|
Loading…
Reference in New Issue
Block a user