mirror of
https://github.com/remoteintech/remote-jobs
synced 2025-01-13 04:58:43 +00:00
Add custom 404.html page
This commit is contained in:
parent
40c825d6da
commit
928fd3d0af
1 changed files with 5 additions and 0 deletions
|
@ -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/"' );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue