1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2025-12-19 04:28:48 +00:00
Files
bibliogram/src/site/pug/friendlyerror.pug
2020-02-05 19:05:18 +13:00

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