website/Tuprules.tup

13 lines
405 B
Plaintext
Raw Normal View History

2019-06-10 21:51:04 +02:00
&root = .
2019-06-14 13:53:29 +02:00
!pandoc = | &(root)/templates/footer.html \
|> ^ pandoc %f^ \
pandoc --from markdown --to html \
2019-06-10 21:51:04 +02:00
--template=&(root)/templates/pandoc.html \
2019-06-11 13:03:02 +02:00
--css &(root)/css/style.css \
2019-06-10 21:51:04 +02:00
--include-in-header=&(root)/templates/header.html \
2019-06-14 13:53:29 +02:00
--include-before-body=&(root)/templates/nav.html \
2019-06-10 21:51:04 +02:00
--include-after-body=&(root)/templates/footer.html \
2019-06-14 13:53:29 +02:00
%f | sed 's|%%webRoot%%|&(root)|g' > %o \
2019-06-10 21:51:04 +02:00
|> %B.html