<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
    {foreach $pages AS $page}
    <url>
        <loc>https://{$config->root_url}/{$page->url}</loc>
        {assign "updated" " "|explode:$page->updated}
        <lastmod>{$updated.0}</lastmod>
        <changefreq>weekly</changefreq>
    	<priority>1</priority>
    </url>
    {/foreach}
</urlset>
