mirror of
https://github.com/remoteintech/remote-jobs
synced 2025-01-13 04:58:43 +00:00
Merge pull request #1272 from rylim/feature/issue1153-add-custom-404-page
This commit is contained in:
commit
498069b691
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