add namespace

This commit is contained in:
vcoppe
2024-06-26 22:52:38 +02:00
parent 67c472c207
commit 8b6057ce32

View File

@@ -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>