summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/template.js1
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" });