1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-11-16 13:17:30 +00:00
bibliogram/src/site/pug/friendlyerror.pug

18 lines
475 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
meta(charset="utf-8")
meta(name="viewport" content="width=device-width, initial-scale=1")
title= `${title} | Bibliogram`
link(rel="stylesheet" type="text/css" href="/static/css/main.css")
body.error-page
+error(statusCode, message, withInstancesLink)
2020-01-30 03:05:43 +00:00
if explanation
=explanation