summaryrefslogtreecommitdiff
path: root/templates/sitemap.tpl
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2011-11-30 14:33:43 -0500
committerspiderr <spider@viovio.com>2011-11-30 14:33:43 -0500
commit744bceba4da4b2e18f117bd9cbd27d42419cdad4 (patch)
tree13333311ebbeb57c32a4774721bbe49592dd89ff /templates/sitemap.tpl
parent78725ebd96b9a39b5cf26e210c6885a92d99a584 (diff)
downloadkernel-744bceba4da4b2e18f117bd9cbd27d42419cdad4.tar.gz
kernel-744bceba4da4b2e18f117bd9cbd27d42419cdad4.tar.bz2
kernel-744bceba4da4b2e18f117bd9cbd27d42419cdad4.zip
fix sitemap.tpl to use urlset
Diffstat (limited to 'templates/sitemap.tpl')
-rw-r--r--templates/sitemap.tpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/sitemap.tpl b/templates/sitemap.tpl
index 6e5c259..6fa3582 100644
--- a/templates/sitemap.tpl
+++ b/templates/sitemap.tpl
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{foreach from=$gSiteMapHash item=map}
{if $map.loc}
- <sitemap>
+ <url>
<loc>{$map.loc}</loc>
{if $map.lastmod}
<lastmod>{$map.lastmod}</lastmod>
@@ -13,7 +13,7 @@
{if $map.priority}
<priority>{$map.priority}</priority>
{/if}
- </sitemap>
+ </url>
{/if}
{/foreach}
-</sitemapindex>
+</urlset>