2023-02-05 04:43:34 +04:00
|
|
|
extends base.pug
|
|
|
|
|
2023-05-19 21:40:16 +04:00
|
|
|
block meta_description
|
|
|
|
meta(name='description' content='Internal Server Error')
|
|
|
|
|
2023-02-05 04:43:34 +04:00
|
|
|
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
|
2023-02-05 23:23:55 +04:00
|
|
|
:go:func InternalError(title, err, msg string)
|
2023-02-05 04:43:34 +04:00
|
|
|
section#error
|
|
|
|
h1 50x
|
|
|
|
| Internal Server Error
|
|
|
|
|
2023-02-05 23:23:55 +04:00
|
|
|
if (err != "")
|
2023-02-05 04:43:34 +04:00
|
|
|
section#description
|
2023-02-05 23:23:55 +04:00
|
|
|
p= err
|
|
|
|
p= msg
|