1
0
dwelling-upload/web/templates/uploaded.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

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