fix canonical tag
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-03-19 09:05:01 -04:00
parent a31c158cc5
commit 2c861f868a

View File

@@ -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({