Fix for index file override

This commit is contained in:
Stephan 2019-03-23 13:13:37 +01:00
parent ef9236f47a
commit 874ecaa7cf

View file

@ -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')){