<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>{{ _page.title.value }}</title>
        <link>{{ _page.link.value }}</link>
        <description>{{ _page.description.value }}</description>
        <language>{{ _page.language.value }}</language>

        {% for item in items %}
            <item>
                <title><![CDATA[{{ item.title|raw }}]]></title>
                <link href="{{ item.link }}" type="text/html">{{ item.link }}</link>
                {% if item.linkGemini is defined %}
                    <link href="{{ item.linkGemini }}" type="text/gemini" />
                {% endif %}
                <description><![CDATA[{{ item.description|raw }}]]></description>
                <guid isPermaLink="false">{{ item.guid }}</guid>
                <pubDate>{{ item.date|date('r') }}</pubDate>
                {% for category in item.categories %}
                    <category><![CDATA[{{ category }}]]></category>
                {% endfor %}
            </item>
        {% endfor %}
    </channel>
</rss>
