mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-01-31 07:16:17 +00:00
Accidentally added some stuff from curvyandtrans
This commit is contained in:
parent
f18b07fa41
commit
caa4c0687b
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user