mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-01-31 15:26: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 = {
|
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,
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user