diff options
| author | Jacob Thornton <[email protected]> | 2012-01-27 14:43:41 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-01-27 14:43:41 -0800 |
| commit | 8a2124faff2cad26498203c047c5dc9a2b6d0e73 (patch) | |
| tree | 589d8d2709d2fcc4f5a4f9f3b2c62d262ff83e5e | |
| parent | 3c7e3eb7d37507ba12d95024f06d6f872a44eecd (diff) | |
| download | bootstrap-8a2124faff2cad26498203c047c5dc9a2b6d0e73.tar.xz bootstrap-8a2124faff2cad26498203c047c5dc9a2b6d0e73.zip | |
only build mustache files
| -rw-r--r-- | docs/build/index.js | 2 |
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 = {} |
