<?xml version="1.0" encoding="UTF-8"?>
<rss
    xmlns:yandex="http://news.yandex.ru"
    xmlns:media="http://search.yahoo.com/mrss/"
    xmlns:turbo="http://turbo.yandex.ru"
    version="2.0"
    xml:base="{$config->root_url}"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>{$settings->site_name}</title>
<link>{$config->root_url}</link>
<language>ru</language>
{foreach $pages AS $page}
    <item turbo="true">
    <turbo:extendedHtml>true</turbo:extendedHtml>
    <author>Алексей Евтеев</author>
    <category>Разработка сайтов</category>
    <title>{$page->meta_title}</title>
    <link>{$config->root_url}/{$page->url}</link>
    <turbo:content>
    <![CDATA[
        <header>
            <h1>{$page->name}</h1>
            <menu>
                <a href="/">Разработка сайтов</a>
                {foreach $page|path AS $p}
                    <a href="/{$p->url}">{$p->name}</a>
                {/foreach}
            </menu>
        </header>
        {$page->body}
    ]]>
    </turbo:content>

    <yandex:full-text>
    <![CDATA[
        {$page->body}
    ]]>
    </yandex:full-text>

    <description>
    <![CDATA[
        {$page->annotation}
    ]]>
    </description>
    <pubDate>{$page->added}</pubDate>
    <guid>{$page->id} at {$config->root_url}</guid>
    </item>
{/foreach}
</channel>
</rss>
