Accidentally added some stuff from curvyandtrans

This commit is contained in:
Jocelyn Badgley (Twipped) 2020-04-07 10:44:39 -07:00
parent f18b07fa41
commit caa4c0687b
2 changed files with 1 additions and 3 deletions

View File

@ -91,7 +91,6 @@ function stripIndent (input) {
const HANDLEBARS_PARTIALS = { const HANDLEBARS_PARTIALS = {
layout: 'templates/layout.hbs', layout: 'templates/layout.hbs',
list: 'templates/list.hbs',
page: 'templates/page.hbs', page: 'templates/page.hbs',
post: 'templates/post.hbs', post: 'templates/post.hbs',
}; };
@ -123,7 +122,6 @@ module.exports = exports = async function (prod) {
[TYPE.MARKDOWN]: (source, env) => markdown('full', source, env), [TYPE.MARKDOWN]: (source, env) => markdown('full', source, env),
[TYPE.OTHER]: (source) => source, [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.PAGE]: (source, env) => templates.page({ ...env, contents: markdown('full', source, env) }),
[ENGINE.POST]: (source, env) => templates.post({ ...env, contents: markdown('full', source, env) }), [ENGINE.POST]: (source, env) => templates.post({ ...env, contents: markdown('full', source, env) }),
[ENGINE.HTML]: (source) => source, [ENGINE.HTML]: (source) => source,

View File

@ -82,7 +82,7 @@ exports.everything = function (prod = false) {
return fn; return fn;
}; };
exports.posts = function () { exports.pages = function () {
async function fn () { async function fn () {
const prod = false; const prod = false;
// load a directory scan of the public and post folders // load a directory scan of the public and post folders