aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/SiteMap.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/SiteMap.js')
-rw-r--r--docs/src/SiteMap.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/SiteMap.js b/docs/src/SiteMap.js
index f6f909e9..c2b1ec92 100644
--- a/docs/src/SiteMap.js
+++ b/docs/src/SiteMap.js
@@ -10,12 +10,12 @@ function SiteMap(docs){
this.render = function(){
var map = [];
map.push('<?xml version="1.0" encoding="UTF-8"?>');
- map.push('<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">');
+ map.push('<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">');
docs.forEach(function(doc){
map.push(' <url><loc>http://docs.angularjs.org/#!' +
encode(doc.name) + '</loc><changefreq>weekly</changefreq></url>');
});
- map.push('</sitemapindex>');
+ map.push('</urlset>');
map.push('');
return map.join('\n');
};