Fix for index file override
This commit is contained in:
parent
ef9236f47a
commit
874ecaa7cf
1 changed files with 1 additions and 1 deletions
|
|
@ -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')){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue