diff --git a/docs/build/index.js b/docs/build/index.js index 9c240ca360..3dfc3a7c7f 100644 --- a/docs/build/index.js +++ b/docs/build/index.js @@ -14,6 +14,8 @@ pages = fs.readdirSync(__dirname + '/../templates/pages') // iterate over pages pages.forEach(function (name) { + if (!name.match(/\.mustache$/) return + var page = fs.readFileSync(__dirname + '/../templates/pages/' + name, 'utf-8') , context = {}