add namespace
This commit is contained in:
parent
67c472c207
commit
8b6057ce32
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ function getURL(lang: string, path: string = '/') {
|
|||
|
||||
function generateSitemap() {
|
||||
const sitemap = `<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">` +
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">` +
|
||||
|
||||
Object.keys(languages).map((lang) => `
|
||||
<url>
|
||||
|
|
Loading…
Reference in a new issue