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.
16 lines
320 B
Plaintext
16 lines
320 B
Plaintext
:go:func Uploaded(mainSite, downloadLink string, keepForHours int)
|
|
|
|
include base.jade
|
|
|
|
block append header
|
|
h1 Upload
|
|
|
|
block append body
|
|
section#file
|
|
h2 Your link
|
|
center
|
|
a(href=downloadLink) #{downloadLink}
|
|
center It will be available for next #{keepForHours} hours.
|
|
center
|
|
a(href="/") Back to index page
|