0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-28 20:52:21 +01:00

only build mustache files

This commit is contained in:
Jacob Thornton 2012-01-27 14:43:41 -08:00
parent 3c7e3eb7d3
commit 8a2124faff

2
docs/build/index.js vendored
View File

@ -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 = {}