Alexander "Arav" Andreev
7a8b7964ec
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.
22 lines
317 B
Plaintext
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
|