1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2025-12-16 11:08:49 +00:00

Basic error checking

This commit is contained in:
Cadence Fish
2020-01-27 19:03:28 +13:00
parent c2ac1b2259
commit 9f5fa84f9a
9 changed files with 156 additions and 49 deletions

View File

@@ -0,0 +1,18 @@
//- Needs title, message, statusCode
include includes/timeline_page.pug
include includes/next_page_button.pug
- 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
h1.code= statusCode
p.message= message
a(href="javascript:history.back()").back ← Go back?