diff --git a/build/engines.js b/build/engines.js index 58cc55e..f33a520 100644 --- a/build/engines.js +++ b/build/engines.js @@ -101,12 +101,12 @@ module.exports = exports = async function (prod) { } } - const pageTemplateRaw = await readFile('templates/post.hbs'); + const pageTemplateRaw = await readFile('templates/page.hbs'); if (!pageTemplateRaw) throw new Error('Post template was empty?'); try { var pageTemplate = handlebars.compile(pageTemplateRaw.toString('utf8')); } catch (e) { - log.error('Crash while loading post template', e); + log.error('Crash while loading page template', e); } const revManifest = prod && await fs.readJson(resolve('rev-manifest.json')).catch(() => {}).then((r) => r || {}); diff --git a/scss/_post.scss b/scss/_page.scss similarity index 100% rename from scss/_post.scss rename to scss/_page.scss diff --git a/scss/style.scss b/scss/style.scss index 8ba521a..a4d4784 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -96,7 +96,7 @@ $header-full-height: 100px; @import "./footer"; @import "./tweet"; @import "./index"; -@import "./post"; +@import "./page"; @import "./card"; @import "./grid-row"; @import "./markup"; diff --git a/templates/post.hbs b/templates/page.hbs similarity index 100% rename from templates/post.hbs rename to templates/page.hbs