From 874ecaa7cf9474cd150771c81d69f73f98bd7aa4 Mon Sep 17 00:00:00 2001 From: Stephan Date: Sat, 23 Mar 2019 13:13:37 +0100 Subject: [PATCH] Fix for index file override --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 05f94e4..cba8a96 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -70,7 +70,7 @@ const output = { }; //Check for index file and deactivate demo content -if (fs.existsSync('source/screens/index.*')){ +if (fs.existsSync('source/screens/index.njk')){ hippie.index = 'index.html'; } if (fs.existsSync('source/templates/data.json')){