This commit is contained in:
3
index.js
3
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({
|
||||
|
Reference in New Issue
Block a user