diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2020-06-18 22:23:18 +0200 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2020-06-18 22:23:18 +0200 |
commit | db7ccba54d97f4a823dab9dbf2bcac72a1891e96 (patch) | |
tree | f1fadd3d098a8cd065904c7902642698d4814cbd /modules | |
parent | 9c42abbfdd5411c2d76ae2345976e9cd1834518a (diff) |
blog: Don't display 'index' in the tree
Diffstat (limited to 'modules')
-rw-r--r-- | modules/blog/template.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/blog/template.js b/modules/blog/template.js index be6d474..38ce72e 100644 --- a/modules/blog/template.js +++ b/modules/blog/template.js @@ -41,6 +41,7 @@ function generateTree(tree, path) { async function template(repodir, contentPath) { const tree = await recursiveTree(repodir); tree.delete("$template"); + tree.delete("index"); let html = await fs.readFile(repodir + "/$template.html", { encoding: "utf-8" }); |