aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-07-10 10:23:15 -0700
committerMark Otto <[email protected]>2014-07-10 10:23:15 -0700
commit57c709becd2bb2ed93f9004c04d48c4a65836cb8 (patch)
treec9d807ab197835c016d64ce7316e5ec11f357c36
parent35c90fe13d65ee14283373d4afba316c68bb4e8d (diff)
downloadbootstrap-57c709becd2bb2ed93f9004c04d48c4a65836cb8.tar.xz
bootstrap-57c709becd2bb2ed93f9004c04d48c4a65836cb8.zip
jquery links
-rw-r--r--_config.yml1
-rw-r--r--docs/_includes/getting-started/download.md6
2 files changed, 4 insertions, 3 deletions
diff --git a/_config.yml b/_config.yml
index 72839147d..c174f4a7e 100644
--- a/_config.yml
+++ b/_config.yml
@@ -31,3 +31,4 @@ cdn:
css: //maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css
css_theme: //maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css
js: //maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js
+ jquery: //code.jquery.com/jquery-2.1.1.min.js
diff --git a/docs/_includes/getting-started/download.md b/docs/_includes/getting-started/download.md
index e4adc1064..b719026ac 100644
--- a/docs/_includes/getting-started/download.md
+++ b/docs/_includes/getting-started/download.md
@@ -8,10 +8,10 @@ Quickly add Bootstrap to your project via the [Bootstrap CDN](http://bootstrapcd
<link rel="stylesheet" href="{{ site.cdn.css }}">
{% endhighlight %}
-Then, add the Bootstrap JavaScript—and jQuery—near the end of your project. It's best placed right before the closing `</body>` tag. Be sure to place jQuery first.
+Then, add the Bootstrap JavaScript—and jQuery—near the end of your pages. It's best placed right before the closing `</body>` tag. Be sure to place jQuery first as our code depends on it.
{% highlight html %}
-<script src="">jQuery</script>
+<script src="{{ site.cdn.jquery }}"></script>
<script src="{{ site.cdn.js }}"></script>
{% endhighlight %}
@@ -34,7 +34,7 @@ Put it all together and your pages should look like this:
<body>
<h1>Hello, world!</h1>
- <script src="">jQuery</script>
+ <script src="{{ site.cdn.jquery }}"></script>
<script src="{{ site.cdn.js }}"></script>
</body>
</html>