From 928fd3d0af75999757d910d3df74cfac7efbc87a Mon Sep 17 00:00:00 2001 From: rylim <36293596+rylim@users.noreply.github.com> Date: Wed, 13 Oct 2021 00:30:12 -0700 Subject: [PATCH] Add custom 404.html page --- bin/build-site.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/build-site.js b/bin/build-site.js index 3c8cf1dc..1f038bac 100755 --- a/bin/build-site.js +++ b/bin/build-site.js @@ -279,6 +279,11 @@ async function buildSite() { } } ); + // Generate custom 404 page + console.log(); + console.log( 'Writing custom 404 page' ); + writePage( '404.html', '