diff options
Diffstat (limited to '')
-rw-r--r-- | templates/sitemap.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/sitemap.xml b/templates/sitemap.xml new file mode 100644 index 0000000..1ff6a8e --- /dev/null +++ b/templates/sitemap.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<urlset + xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" + xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" + xmlns:xhtml="http://www.w3.org/1999/xhtml" + xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" + xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" + xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" +> + <url> + <loc>$root$</loc> + <changefreq>daily</changefreq> + <priority>1.0</priority> + </url> +$for(pages)$ + <url> + <loc>$root$$url$</loc> + <lastmod>$if(updated)$$updated$$else$$if(date)$$date$$endif$$endif$</lastmod> + <changefreq>weekly</changefreq> + <priority>0.8</priority> + </url> +$endfor$ +</urlset> |