Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/scripts/sitemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const generateSitemap = async (hostname, dir) => {
// Map files to URL entries.
const urls = contentFiles.map((file) => {
let url = file.replace(dir, "").replace(".md", "").replace("/README", "/");
if (url !== apiRef) url = `${url}`; // https://git.io/JTpz9
if (url !== apiRef) url = `?${url}`; // https://git.io/JTpz9
let links = langs.map((lang) => ({ url, lang }));
return { url, links, ...tags };
});
Expand Down