From: XhmikosR Date: Wed, 29 Oct 2014 04:46:02 +0000 (+0200) Subject: Customizer: include the minified files only on GitHub pages. X-Git-Tag: v3.3.0~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a515191afddb3952fa93c6aacf83c73c8024e069;p=thirdparty%2Fbootstrap.git Customizer: include the minified files only on GitHub pages. --- diff --git a/Gruntfile.js b/Gruntfile.js index f1430e0265..cbf01ac1ff 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -138,6 +138,7 @@ module.exports = function (grunt) { dest: 'dist/js/<%= pkg.name %>.min.js' }, customize: { + // NOTE: This src list is duplicated in footer.html; if making changes here, be sure to update the other copy too. src: [ 'docs/assets/js/vendor/less.min.js', 'docs/assets/js/vendor/jszip.min.js', diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index ef68da3eba..c6ad43cd53 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -46,7 +46,17 @@ {% endif %} {% if page.slug == "customize" %} +{% if site.github %} +{% else %} + + + + + + + +{% endif %} {% endif %}