mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-25 08:50:22 +00:00
only build mustache files
This commit is contained in:
parent
3c7e3eb7d3
commit
8a2124faff
1 changed files with 2 additions and 0 deletions
2
docs/build/index.js
vendored
2
docs/build/index.js
vendored
|
|
@ -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 = {}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue