From 20d6ed16a5379e10793e2ab2a89ada87b6a499f6 Mon Sep 17 00:00:00 2001 From: Flummi Date: Tue, 30 Aug 2016 12:59:39 +0000 Subject: [PATCH] muh --- s/index.tpl.html | 3 +-- s/scripts.tpl.html | 0 src/websrv.js | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 s/scripts.tpl.html diff --git a/s/index.tpl.html b/s/index.tpl.html index 30c988c..22c988c 100644 --- a/s/index.tpl.html +++ b/s/index.tpl.html @@ -9,8 +9,7 @@
- {% for item in items %} - + {% for item in items %} {% endfor %}
diff --git a/s/scripts.tpl.html b/s/scripts.tpl.html deleted file mode 100644 index e69de29..0000000 diff --git a/src/websrv.js b/src/websrv.js index 0f0186e..8af00f2 100644 --- a/src/websrv.js +++ b/src/websrv.js @@ -274,7 +274,6 @@ Websrv.prototype.getTpls = () => { "index": fs.readFileSync("./s/index.tpl.html", "utf-8"), "item": fs.readFileSync("./s/item.tpl.html", "utf-8"), "how": fs.readFileSync("./s/how.tpl.html", "utf-8"), - "contact": fs.readFileSync("./s/contact.tpl.html", "utf-8"), - "scripts": fs.readFileSync("./s/scripts.tpl.html", "utf-8") + "contact": fs.readFileSync("./s/contact.tpl.html", "utf-8") }; }; \ No newline at end of file