From fd949592247cbaba83f4aa02eeae6ecfab9e6cb8 Mon Sep 17 00:00:00 2001 From: agarceau-netapp Date: Thu, 5 Sep 2024 11:16:44 -0700 Subject: [PATCH] Update sitemap.js - revert removal of question mark --- src/scripts/sitemap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/sitemap.js b/src/scripts/sitemap.js index 6f2251a6a..2bbafd3bd 100755 --- a/src/scripts/sitemap.js +++ b/src/scripts/sitemap.js @@ -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 }; });