aboutsummaryrefslogtreecommitdiff
path: root/render.js
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-05-10 20:16:34 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-05-10 20:16:34 +0200
commit8063067f53d1a9370700d9b5ebfbc30a1b65e168 (patch)
treecc4d1b6e00213195e97c704a15b7fd518aaea3f4 /render.js
parentc96f003767bed44b7362a0c6464d6c883964c347 (diff)
downloadsite-8063067f53d1a9370700d9b5ebfbc30a1b65e168.tar.gz
site-8063067f53d1a9370700d9b5ebfbc30a1b65e168.zip
Rework css
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)