2023-02-05 04:43:34 +04:00
|
|
|
extends base.pug
|
|
|
|
|
2023-02-05 05:25:01 +04:00
|
|
|
block meta_description
|
2023-05-27 20:47:06 +04:00
|
|
|
meta(name='description' content=http.StatusText(code))
|
2023-02-05 05:25:01 +04:00
|
|
|
|
2023-02-05 04:43:34 +04:00
|
|
|
block append head
|
2023-08-13 01:46:15 +04:00
|
|
|
link(href='/assets/css/error.css' rel='stylesheet')
|
2023-02-05 04:43:34 +04:00
|
|
|
|
|
|
|
block nav
|
|
|
|
a(href='/') Home
|
|
|
|
a(href='/stuff') Stuff
|
|
|
|
a(href='/mindflow') Mindflow
|
|
|
|
a(href='/about') About
|
|
|
|
a(href='/guestbook') Guestbook
|
2023-05-27 20:47:06 +04:00
|
|
|
h1 #{http.StatusText(code)}
|
2023-02-05 04:43:34 +04:00
|
|
|
|
|
|
|
block content
|
2023-08-12 23:57:55 +04:00
|
|
|
:go:func ErrorXXX(title, reason, message, referer string, code int)
|
2023-05-27 20:47:06 +04:00
|
|
|
section#error
|
|
|
|
h1 #{code}
|
|
|
|
| #{http.StatusText(code)}
|
|
|
|
if reason != ""
|
|
|
|
p #{reason}
|
|
|
|
if message != ""
|
|
|
|
p #{message}
|
2023-08-12 23:57:55 +04:00
|
|
|
if referer != ""
|
|
|
|
section
|
|
|
|
h2 #[a(href=referer) Go back]
|