1
0
dwelling-home/web/templates/error500.pug

34 lines
743 B
Plaintext
Executable File

extends base.pug
block append head
style(type="text/css").
#error {
font-size: 3.5rem;
line-height: 5rem;
text-align: center;
margin: 6rem 0; }
#error h1 { font-size: 8rem; }
#description p { text-align: center; }
#description p:first-child { font-size: 1.4rem; }
block nav
a(href='/') Home
a(href='/stuff') Stuff
a(href='/mindflow') Mindflow
a(href='/about') About
a(href='/guestbook') Guestbook
h1 Ohh... Shite!
block content
:go:func InternalError(title, err, msg string)
section#error
h1 50x
| Internal Server Error
if (err != "")
section#description
p= err
p= msg