mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-01-31 07:16:17 +00:00
Pages, not posts
This commit is contained in:
parent
32382ae59b
commit
d5c15ebde4
@ -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 || {});
|
||||
|
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user