1
0
dwelling-home/web/templates/errorXXX.pug

33 lines
747 B
Plaintext
Raw Normal View History

2023-02-05 04:43:34 +04:00
extends base.pug
2023-02-05 05:25:01 +04:00
block meta_description
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
style(type="text/css").
#error {
font-size: 3.5rem;
line-height: 5rem;
text-align: center;
margin: 6rem 0; }
#error h1 { font-size: 8rem; }
block nav
a(href='/') Home
a(href='/stuff') Stuff
a(href='/mindflow') Mindflow
a(href='/about') About
a(href='/guestbook') Guestbook
h1 #{http.StatusText(code)}
2023-02-05 04:43:34 +04:00
block content
:go:func ErrorXXX(title, reason, message string, code int)
section#error
h1 #{code}
| #{http.StatusText(code)}
if reason != ""
p #{reason}
if message != ""
p #{message}