1
0
Fork 0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2026-03-02 02:41:34 +00:00

Add proper custom 404 page

This commit is contained in:
Cadence Fish 2020-02-18 21:03:46 +13:00
parent 21ec920516
commit 9d86bdbc74
No known key found for this signature in database
GPG key ID: 81015DF9AA8607E1
5 changed files with 25 additions and 19 deletions

10
src/site/pug/404.pug Normal file
View 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.")

View file

@ -2,8 +2,6 @@
include includes/error.pug
- const numberFormat = new Intl.NumberFormat().format
doctype html
html
head