diff --git a/assets/bootstrap.zip b/assets/bootstrap.zip index 8922a5c7..b3c97ea8 100644 Binary files a/assets/bootstrap.zip and b/assets/bootstrap.zip differ diff --git a/base-css.html b/base-css.html index 9a704cb0..b53b873a 100644 --- a/base-css.html +++ b/base-css.html @@ -1577,10 +1577,9 @@ For example, <code>section</code> should be wrapped as inline. - - + diff --git a/build/index.js b/build/index.js index 4c759c6e..5321fa75 100644 --- a/build/index.js +++ b/build/index.js @@ -1,6 +1,7 @@ #!/usr/bin/env node var hogan = require('hogan.js') , fs = require('fs') + , prod = process.argv[2] == 'production' var layout, pages @@ -21,6 +22,7 @@ pages.forEach(function (name) { context[name.replace(/\.mustache$/, '')] = 'active' context._i = true + context.production = prod page = hogan.compile(page, { sectionTags: [{o:'_i', c:'i'}] }) page = layout.render(context, { diff --git a/components.html b/components.html index 1d31ac40..77949ebc 100644 --- a/components.html +++ b/components.html @@ -1512,10 +1512,9 @@ - - + diff --git a/download.html b/download.html index 852d87bb..07aaf23e 100644 --- a/download.html +++ b/download.html @@ -355,10 +355,9 @@ - - + diff --git a/examples.html b/examples.html index fd43ac79..cf9cbefc 100644 --- a/examples.html +++ b/examples.html @@ -140,10 +140,9 @@ - - + diff --git a/index.html b/index.html index 1e173f79..01897334 100644 --- a/index.html +++ b/index.html @@ -244,10 +244,9 @@ - - + diff --git a/javascript.html b/javascript.html index 508fc1bd..900f431b 100644 --- a/javascript.html +++ b/javascript.html @@ -1460,10 +1460,9 @@ $('.myCarousel').carousel({ - - + diff --git a/less.html b/less.html index 35fcc07a..b7d1600e 100644 --- a/less.html +++ b/less.html @@ -791,10 +791,9 @@ - - + diff --git a/scaffolding.html b/scaffolding.html index 28b4b9de..9ad17ff1 100644 --- a/scaffolding.html +++ b/scaffolding.html @@ -433,10 +433,9 @@ - - + diff --git a/templates/layout.mustache b/templates/layout.mustache index 28a11d3f..5f49bb62 100644 --- a/templates/layout.mustache +++ b/templates/layout.mustache @@ -109,5 +109,24 @@ + + {{#production}} + + + {{/production}} + diff --git a/upgrading.html b/upgrading.html index 92fa8ef5..098bcbdc 100644 --- a/upgrading.html +++ b/upgrading.html @@ -292,10 +292,9 @@ - - +