website/Tuprules.tup
2019-06-14 13:58:21 +02:00

13 lines
405 B
Plaintext

&root = .
!pandoc = | &(root)/templates/footer.html \
|> ^ pandoc %f^ \
pandoc --from markdown --to html \
--template=&(root)/templates/pandoc.html \
--css &(root)/css/style.css \
--include-in-header=&(root)/templates/header.html \
--include-before-body=&(root)/templates/nav.html \
--include-after-body=&(root)/templates/footer.html \
%f | sed 's|%%webRoot%%|&(root)|g' > %o \
|> %B.html