diff --git a/index.js b/index.js index 5e819ef..3748fa9 100644 --- a/index.js +++ b/index.js @@ -200,7 +200,8 @@ readFile("./index.tmpl.html", function (err, data) { let title = TitleTemplate(store); $("title").html(title); $("meta[name='title']").attr("content", title); - $("meta[name='description']").attr("content", metaDescription(store)); + $("meta[name='title']").attr("content", title); + $("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({