From: Jacob Thornton Date: Fri, 27 Jan 2012 22:43:41 +0000 (-0800) Subject: only build mustache files X-Git-Tag: v2.0.0~6^2~114^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a2124faff2cad26498203c047c5dc9a2b6d0e73;p=thirdparty%2Fbootstrap.git only build mustache files --- diff --git a/docs/build/index.js b/docs/build/index.js index 9c240ca360..3dfc3a7c7f 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 = {}