1
0
mirror of https://github.com/GenderDysphoria/GenderDysphoria.fyi.git synced 2025-11-25 20:42:40 +00:00

pageWriter now writes posts first so that the post content is available for pages.

This commit is contained in:
Jocelyn Badgley (Twipped)
2020-02-29 18:30:05 -08:00
parent ae0ed2f18f
commit 32382ae59b
3 changed files with 20 additions and 11 deletions

View File

@@ -59,7 +59,7 @@ exports.everything = function (prod = false) {
await evaluate(tasks.flat(), cache);
await cache.save();
await pageWriter([ ...pages, ...posts ], prod);
await pageWriter(pages, posts, prod);
}
fn.displayName = prod ? 'buildForProd' : 'build';