bibliogram/src/site/pug/friendlyerror.pug

16 lines
336 B
Plaintext
Raw Normal View History

//- Needs title, message, statusCode, ?explanation, withInstancesLink
2020-01-27 06:03:28 +00:00
2020-01-30 03:05:43 +00:00
include includes/error.pug
2020-01-27 06:03:28 +00:00
- const numberFormat = new Intl.NumberFormat().format
doctype html
html
head
title= `${title} | Bibliogram`
2020-02-05 06:05:18 +00:00
include includes/head
2020-01-27 06:03:28 +00:00
body.error-page
+error(statusCode, message, withInstancesLink)
2020-01-30 03:05:43 +00:00
if explanation
=explanation