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
|
2019-06-19 13:37:04 +02:00
|
|
|
|
|
|
|
!project = | &(root)/templates/footer.html \
|
|
|
|
|> ^ pandoc %f^ \
|
|
|
|
pandoc --from markdown --to html \
|
|
|
|
--template=&(root)/templates/project.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
|
2019-06-19 13:58:22 +02:00
|
|
|
|
|
|
|
!article = | &(root)/templates/footer.html \
|
|
|
|
|> ^ pandoc %f^ \
|
|
|
|
pandoc --from markdown --to html \
|
|
|
|
--template=&(root)/templates/article.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
|