diff options
Diffstat (limited to 'render.js')
-rw-r--r-- | render.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |