|
|
@ -1,13 +1,9 @@
|
|
|
|
{% set posts = pageQuery.find({ orderBy: [ '-date_published' ], limit: 10, filter: { view: { _eq: 'post.njk' } } }) %}
|
|
|
|
{% set posts = pageQuery.find({ orderBy: [ '-date_published' ], limit: 10, filter: { view: { _eq: 'post.njk' } } }) %}
|
|
|
|
|
|
|
|
|
|
|
|
{% set http = 'http' %}
|
|
|
|
{% set http = 'http' %}
|
|
|
|
|
|
|
|
|
|
|
|
{% if (site.https) %}
|
|
|
|
{% if (site.https) %}
|
|
|
|
{% set http = 'https' %}
|
|
|
|
{% set http = 'https' %}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<rss version="2.0"
|
|
|
|
|
|
|
|
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
|
|
|
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
|
|
|
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
|
|
|
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
|
|
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
|
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
|
@ -30,25 +26,25 @@
|
|
|
|
<sy:updateFrequency>1</sy:updateFrequency>
|
|
|
|
<sy:updateFrequency>1</sy:updateFrequency>
|
|
|
|
<generator>https://gitea.node001.net/HerrHase/siteomat-webpack-plugin</generator>
|
|
|
|
<generator>https://gitea.node001.net/HerrHase/siteomat-webpack-plugin</generator>
|
|
|
|
{% for post in posts %}
|
|
|
|
{% for post in posts %}
|
|
|
|
<item>
|
|
|
|
<item>
|
|
|
|
<title>{{ post.title }}</title>
|
|
|
|
<title>{{ post.title }}</title>
|
|
|
|
<link>{{ http }}://{{ site.domain }}{{ post.path }}</link>
|
|
|
|
<link>{{ http }}://{{ site.domain }}{{ post.path }}</link>
|
|
|
|
<pubDate>{{ dayjs(post.date_published) }}</pubDate>
|
|
|
|
<pubDate>{{ dayjs(post.date_published) }}</pubDate>
|
|
|
|
|
|
|
|
|
|
|
|
{% if post.excerpt %}
|
|
|
|
{% if post.excerpt %}
|
|
|
|
<description>
|
|
|
|
<description>
|
|
|
|
{{ post.excerpt }}
|
|
|
|
{{ post.excerpt }}
|
|
|
|
</description>
|
|
|
|
</description>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
<content:encoded>
|
|
|
|
<content:encoded>
|
|
|
|
<![CDATA[
|
|
|
|
<![CDATA[
|
|
|
|
{{ post.content | safe }}
|
|
|
|
{{ post.content | safe }}
|
|
|
|
]]>
|
|
|
|
]]>
|
|
|
|
</content:encoded>
|
|
|
|
</content:encoded>
|
|
|
|
|
|
|
|
|
|
|
|
<guid>{{ http }}://{{ site.domain }}{{ post.path }}</guid>
|
|
|
|
<guid>{{ http }}://{{ site.domain }}{{ post.path }}</guid>
|
|
|
|
</item>
|
|
|
|
</item>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
</channel>
|
|
|
|
</channel>
|
|
|
|
</rss>
|
|
|
|
</rss>
|