mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2025-12-18 03:58:49 +00:00
Add proper custom 404 page
This commit is contained in:
10
src/site/pug/404.pug
Normal file
10
src/site/pug/404.pug
Normal file
@@ -0,0 +1,10 @@
|
||||
include includes/error
|
||||
|
||||
doctype html
|
||||
html
|
||||
head
|
||||
title Not found | Bibliogram
|
||||
include includes/head
|
||||
|
||||
body.error-page
|
||||
+error(404, "Page not found.")
|
||||
@@ -2,8 +2,6 @@
|
||||
|
||||
include includes/error.pug
|
||||
|
||||
- const numberFormat = new Intl.NumberFormat().format
|
||||
|
||||
doctype html
|
||||
html
|
||||
head
|
||||
|
||||
Reference in New Issue
Block a user