aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-01-27 14:43:41 -0800
committerJacob Thornton <[email protected]>2012-01-27 14:43:41 -0800
commit8a2124faff2cad26498203c047c5dc9a2b6d0e73 (patch)
tree589d8d2709d2fcc4f5a4f9f3b2c62d262ff83e5e /docs
parent3c7e3eb7d37507ba12d95024f06d6f872a44eecd (diff)
downloadbootstrap-8a2124faff2cad26498203c047c5dc9a2b6d0e73.tar.xz
bootstrap-8a2124faff2cad26498203c047c5dc9a2b6d0e73.zip
only build mustache files
Diffstat (limited to 'docs')
-rw-r--r--docs/build/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/build/index.js b/docs/build/index.js
index 9c240ca36..3dfc3a7c7 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 = {}