aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/footer.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-07-07 19:36:32 -0700
committerChris Rebert <[email protected]>2014-07-07 19:36:32 -0700
commit5d1abf8b380aa94be26f52a662636cc6501fec2d (patch)
treea4aa4ebe527e6bd8c444c274689469bacac01b1e /docs/_includes/footer.html
parentc7c2a078ddf39c582dca283384814ccd7aa5f94d (diff)
parent1dc54dc160d4352d894550c7c5d3f68c475ba2cf (diff)
downloadbootstrap-5d1abf8b380aa94be26f52a662636cc6501fec2d.tar.xz
bootstrap-5d1abf8b380aa94be26f52a662636cc6501fec2d.zip
Merge pull request #14036 from twbs/fix-13575
Jekyll: Use non-minified assets when not running from GitHub Pages
Diffstat (limited to 'docs/_includes/footer.html')
-rw-r--r--docs/_includes/footer.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html
index 0bb3eafd3..f962d19cc 100644
--- a/docs/_includes/footer.html
+++ b/docs/_includes/footer.html
@@ -33,8 +33,18 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
+{% if site.github %}
<script src="../dist/js/bootstrap.min.js"></script>
+{% else %}
+<script src="../dist/js/bootstrap.js"></script>
+{% endif %}
+{% if site.github %}
<script src="../assets/js/docs.min.js"></script>
+{% else %}
+<script src="../assets/js/vendor/holder.js"></script>
+<script src="../assets/js/vendor/ZeroClipboard.min.js"></script>
+<script src="../assets/js/src/application.js"></script>
+{% endif %}
{% if page.slug == "customize" %}
<script src="../assets/js/customize.min.js"></script>
{% endif %}