From caa4c0687b3d2da409c48910203674a599650e2e Mon Sep 17 00:00:00 2001 From: "Jocelyn Badgley (Twipped)" Date: Tue, 7 Apr 2020 10:44:39 -0700 Subject: [PATCH] Accidentally added some stuff from curvyandtrans --- build/engines.js | 2 -- build/index.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build/engines.js b/build/engines.js index cc44ecc..c9e304f 100644 --- a/build/engines.js +++ b/build/engines.js @@ -91,7 +91,6 @@ function stripIndent (input) { const HANDLEBARS_PARTIALS = { layout: 'templates/layout.hbs', - list: 'templates/list.hbs', page: 'templates/page.hbs', post: 'templates/post.hbs', }; @@ -123,7 +122,6 @@ module.exports = exports = async function (prod) { [TYPE.MARKDOWN]: (source, env) => markdown('full', source, env), [TYPE.OTHER]: (source) => source, - [ENGINE.LIST]: (source, env) => templates.list({ ...env, contents: markdown('full', source, env) }), [ENGINE.PAGE]: (source, env) => templates.page({ ...env, contents: markdown('full', source, env) }), [ENGINE.POST]: (source, env) => templates.post({ ...env, contents: markdown('full', source, env) }), [ENGINE.HTML]: (source) => source, diff --git a/build/index.js b/build/index.js index 68721a5..9b7226e 100644 --- a/build/index.js +++ b/build/index.js @@ -82,7 +82,7 @@ exports.everything = function (prod = false) { return fn; }; -exports.posts = function () { +exports.pages = function () { async function fn () { const prod = false; // load a directory scan of the public and post folders