aboutsummaryrefslogtreecommitdiff
path: root/render.js
diff options
context:
space:
mode:
Diffstat (limited to 'render.js')
-rw-r--r--render.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/render.js b/render.js
index d10f5b1..c7cdbf1 100644
--- a/render.js
+++ b/render.js
@@ -193,8 +193,8 @@ const do_pug = (prt, root) => async tree => {
if (tree.generate && tree.generate.cmd == 'pug') {
const html = pug.renderFile(tree.generate.src, {
markdown: tree.generate.markdown ? marked(await fs.readFile(tree.generate.markdown, 'utf-8')) : null,
- prt: prt,
root: root,
+ prt: prt,
element: tree
})
await fs.writeFile(tree.generate.out, html)