bibliogram/src/site/pug/friendlyerror.pug

16 lines
336 B
Plaintext

//- Needs title, message, statusCode, ?explanation, withInstancesLink
include includes/error.pug
- const numberFormat = new Intl.NumberFormat().format
doctype html
html
head
title= `${title} | Bibliogram`
include includes/head
body.error-page
+error(statusCode, message, withInstancesLink)
if explanation
=explanation