mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-01 16:22:32 +00:00
add namespace
This commit is contained in:
@@ -7,7 +7,7 @@ function getURL(lang: string, path: string = '/') {
|
|||||||
|
|
||||||
function generateSitemap() {
|
function generateSitemap() {
|
||||||
const sitemap = `<?xml version="1.0" encoding="UTF-8"?>
|
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) => `
|
Object.keys(languages).map((lang) => `
|
||||||
<url>
|
<url>
|
||||||
|
Reference in New Issue
Block a user