Promote mantis as article
This commit is contained in:
parent
833430c5bc
commit
ed656af469
6 changed files with 93 additions and 0 deletions
11
Tuprules.tup
11
Tuprules.tup
|
@ -21,3 +21,14 @@
|
|||
--include-after-body=&(root)/templates/footer.html \
|
||||
%f | sed 's|%%webRoot%%|&(root)|g' > %o \
|
||||
|> %B.html
|
||||
|
||||
!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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue