Add custom 404.html page

This commit is contained in:
rylim 2021-10-13 00:30:12 -07:00
parent 40c825d6da
commit 928fd3d0af

View file

@ -279,6 +279,11 @@ async function buildSite() {
}
} );
// Generate custom 404 page
console.log();
console.log( 'Writing custom 404 page' );
writePage( '404.html', '<html><h1>Test Custom 404</h1></html>' );
console.log();
console.log( 'Site files are ready in "site/build/"' );
}