mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-18 12:39:41 +03:00
only build mustache files
This commit is contained in:
Vendored
+2
@@ -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 = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user