1
0
dwelling-upload/web/templates/error404.jade
Alexander "Arav" Andreev 7a8b7964ec
I modified templates to include a base.jade, and to alter blocks defined in a base with block append.
But jade behave that that blocks are actually being appended to theirs places, but they are also being included to the end of a file. So, I had to manually modify resulted .jade.go files.
2022-06-14 18:45:23 +04:00

22 lines
317 B
Plaintext

:go:func Error404(mainSite string)
include base.jade
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 append header
h1 404
block append body
section#error
h1 404
| Nod Found xD