We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f7901e commit 1d63b2fCopy full SHA for 1d63b2f
scripts/sitemap.js
@@ -19,7 +19,7 @@ const getLastModified = (filePath) => {
19
function writeSitemap(pages) {
20
const baseUrl = 'https://aqihub.info';
21
let sitemapContent = '<?xml version="1.0" encoding="UTF-8"?>\n';
22
- sitemapContent += '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">\n';
+ sitemapContent += '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">\n';
23
24
pages.forEach((page) => {
25
const filePath = path.join(path.resolve(), 'docs',`${page.path}.md`);
0 commit comments