diff --git a/index.js b/index.js index 3748fa9..6f51a97 100644 --- a/index.js +++ b/index.js @@ -192,7 +192,7 @@ readFile("./index.tmpl.html", function (err, data) { cpSync("./img", "./build/img", { recursive: true }); cpSync("./stores.json", "./build/stores.json"); - let pages = [{ url: `/`, changefreq: "weekly", priority: 1.0 }]; + let pages = [{ url: `/` }]; stores.forEach((store) => { $("#selected").html(SelectedStoreTemplate(store)); @@ -201,14 +201,13 @@ readFile("./index.tmpl.html", function (err, data) { $("title").html(title); $("meta[name='title']").attr("content", title); $("meta[name='title']").attr("content", title); - $("link[rel='canonical']").attr("href", `https://nycbookstores.org/${slugify(store.name)}/`); + $("link[rel='canonical']").attr( + "href", + `https://nycbookstores.org/${slugify(store.name)}/` + ); mkDir(`./build/${slugify(store.name)}`); writeFile(`./build/${slugify(store.name)}/index.html`, $.html()); - pages.push({ - url: `/${slugify(store.name)}/`, - changefreq: "monthly", - priority: 0.5, - }); + pages.push({ url: `/${slugify(store.name)}/` }); }); simpleSitemapAndIndex({ hostname: "https://nycbookstores.org/",