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

34 lines
744 B
Plaintext
Raw Normal View History

2023-02-05 04:43:34 +04:00
extends base.pug
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; }
#description p { text-align: center; }
#description p:first-child { font-size: 1.4rem; }
block nav
a(href='/') Home
a(href='/stuff') Stuff
a(href='/mindflow') Mindflow
a(href='/about') About
a(href='/guestbook') Guestbook
h1 Whoa whoa, watcha tryin'?
block content
2023-02-05 23:23:55 +04:00
:go:func ForbiddenError(title, err, msg string)
2023-02-05 04:43:34 +04:00
section#error
h1 403
| Forbidden
2023-02-05 23:23:55 +04:00
if (err != "")
2023-02-05 04:43:34 +04:00
section#description
2023-02-05 23:23:55 +04:00
p= err
p= msg