1
0
dwelling-upload/web/templates/error50x.jade

23 lines
412 B
Plaintext

extends base.jade
block head
:go:func Error50x(mainSite string, code int, errorMsg string)
style(type="text/css").
#error {
font-size: 3.5rem;
line-height: 5rem;
text-align: center;
margin: 6rem 0; }
#error h1 { font-size: 8rem; }
block header
h1 Internal Server Error
block body
section#error
h1 #{code}
| #{http.StatusText(code)}
if errorMsg != ""
| #{errorMsg}