<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
    <title>{$settings.title}</title>
    <link>{?= url() ?}</link>
    <description>{$settings.description}</description>
{loop: $posts}
    <item>
        <title>{$value.title}</title>
        <link>{$value.url}</link>
        <description>{$value.content|cut:250}</description>
        <pubDate>{$value.published_at}</pubDate>
        {if: $value.cover_photo}
        <image>
            <url>{$value.cover_url}</url>
            <title>{$value.title}</title>
            <link>{?= url() ?}</link>
        </image>
        {/if}
    </item>
{/loop}
</channel>
</rss>