22 lines
500 B
Plaintext
22 lines
500 B
Plaintext
|
extends base.jade
|
||
|
|
||
|
block meta_description
|
||
|
meta(name='description' content=http.StatusText(code))
|
||
|
|
||
|
block nav
|
||
|
a(href='/') Back to index page
|
||
|
h1 #{http.StatusText(code)}
|
||
|
|
||
|
block content
|
||
|
:go:func ErrorXXX(title, reason, message, referer string, code int)
|
||
|
section#error
|
||
|
h1 #{code}
|
||
|
| #{http.StatusText(code)}
|
||
|
if reason != ""
|
||
|
p #{reason}
|
||
|
if message != ""
|
||
|
p #{message}
|
||
|
if referer != ""
|
||
|
section
|
||
|
h2 #[a(href=referer) Go back]
|