diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-05-10 20:16:34 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-05-10 20:16:34 +0200 |
commit | 8063067f53d1a9370700d9b5ebfbc30a1b65e168 (patch) | |
tree | cc4d1b6e00213195e97c704a15b7fd518aaea3f4 /render.js | |
parent | c96f003767bed44b7362a0c6464d6c883964c347 (diff) | |
download | site-8063067f53d1a9370700d9b5ebfbc30a1b65e168.tar.gz site-8063067f53d1a9370700d9b5ebfbc30a1b65e168.zip |
Rework css
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) |