2023-05-24 23:20:05 +04:00
|
|
|
|
extends base.jade
|
|
|
|
|
|
|
|
|
|
block head
|
2023-05-24 23:50:10 +04:00
|
|
|
|
:go:func ErrorXXX(mainSite string, code int, errorMsg string)
|
2023-05-24 23:20:05 +04:00
|
|
|
|
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
|
2023-05-24 23:50:10 +04:00
|
|
|
|
h1 Еггог
|
2023-05-24 23:20:05 +04:00
|
|
|
|
|
|
|
|
|
block body
|
|
|
|
|
section#error
|
|
|
|
|
h1 #{code}
|
|
|
|
|
| #{http.StatusText(code)}
|
|
|
|
|
if errorMsg != ""
|
|
|
|
|
| #{errorMsg}
|