<?xml version="1.0" encoding="{{$config.charset}}"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.9"
		xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
		xmlns:video="http://www.sitemaps.org/schemas/sitemap-video/1.1">
	{{foreach from=$aSitemap item=aData}}
	<url>
		<loc>{{$aData.sSiteUrl}}{{$aData.sLinkName}}</loc>
		<priority>0.5</priority>
		<lastmod>{{$aData.sLastModified}}</lastmod>
		<changefreq>weekly</changefreq>
		{{foreach from=$aData.aImages item=aImage}}
			<image:image>
				<image:loc>{{$aData.sSiteUrl}}{{$config.dir_files}}{{$config.max_image_size_full}}/{{$aImage.sFileName}}</image:loc>
				<image:title><![CDATA[{{$aData.sName}}]]></image:title>
				<image:caption><![CDATA[{{$aImage.sDescription}}]]></image:caption>
			</image:image>
		{{/foreach}}
	</url>
	{{/foreach}}
</urlset>