summaryrefslogtreecommitdiff
path: root/templates/sitemap.tpl
blob: 6fa3582ad1dfcfdf44cf3ffb92d74484bc09ca46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{foreach from=$gSiteMapHash item=map}
{if $map.loc}
	 <url>
		<loc>{$map.loc}</loc>
		{if $map.lastmod}
			<lastmod>{$map.lastmod}</lastmod>
		{/if}
		{if $map.changefreq}
			<changefreq>{$map.changefreq}</changefreq>
		{/if}
		{if $map.priority}
			<priority>{$map.priority}</priority>
		{/if}
	 </url>
{/if}
{/foreach}
</urlset>