Use Tuprules for pandoc

This commit is contained in:
Fabien Freling 2019-06-10 21:51:04 +02:00
parent ef89e98d08
commit dfd1ce60f4
8 changed files with 22 additions and 56 deletions

12
Tupfile
View file

@ -1,11 +1,3 @@
: foreach *.md | templates/footer.html |> \
pandoc --from markdown --to html \
--template=templates/pandoc.html \
--css css/default.css \
--include-in-header=templates/header.html \
--include-before-body=templates/nav.html \
--include-after-body=templates/footer.html \
%f --output=%o \
|> %B.html
include_rules
: foreach *.md |> !pandoc |>
: favicon.png |> !tup_preserve |>