Skip to content

Commit

Permalink
sitemap fix
Browse files Browse the repository at this point in the history
  • Loading branch information
russbiggs committed Oct 16, 2024
1 parent 9f7901e commit 1d63b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sitemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const getLastModified = (filePath) => {
function writeSitemap(pages) {
const baseUrl = 'https://aqihub.info';
let sitemapContent = '<?xml version="1.0" encoding="UTF-8"?>\n';
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';

pages.forEach((page) => {
const filePath = path.join(path.resolve(), 'docs',`${page.path}.md`);
Expand Down

0 comments on commit 1d63b2f

Please sign in to comment.