aboutsummaryrefslogtreecommitdiff
path: root/site/index.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2020-09-29 21:42:22 -0700
committerMark Otto <[email protected]>2020-09-29 21:42:22 -0700
commit614593c379c7ccdfebf7d15cdf0fbb2c46eb9311 (patch)
tree8b61c54539f96255eb43a748669079490ebcb79c /site/index.html
parentf927a95b6ccbb12b812c0a6acc9b6d188acadb3b (diff)
downloadbootstrap-v4-sass-deps.tar.xz
bootstrap-v4-sass-deps.zip
WIP: Add dependencies to our Sass filesv4-sass-deps
Diffstat (limited to 'site/index.html')
-rw-r--r--site/index.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/site/index.html b/site/index.html
index 23850bcf8..a62686429 100644
--- a/site/index.html
+++ b/site/index.html
@@ -61,18 +61,19 @@ gem install bootstrap -v {{ site.current_ruby_version }}
When you only need to include Bootstrap’s compiled CSS or JS, you can use <a href="https://www.bootstrapcdn.com/">BootstrapCDN</a>.
</p>
<p>
- See it in action with our simple <a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/introduction/#starter-template">starter template</a>, or <a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/examples/">browse the examples</a> to jumpstart your next project. You can also choose to include Popper.js and our JS <a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/introduction/#separate">separately</a>.
+ See it in action with our simple <a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/introduction/#starter-template">starter template</a>, or <a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/examples/">browse the examples</a> to jumpstart your next project.
</p>
<a class="btn btn-lg btn-outline-primary mb-3" href="{{ site.baseurl }}/docs/{{ site.docs_version }}/layout/overview/">Explore the docs</a>
</div>
<div class="col-md-7 pl-md-5">
{% highlight html %}
-<!-- CSS -->
+<!-- CSS only -->
<link rel="stylesheet" href="{{ site.cdn.css }}" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous">
-<!-- jQuery and JS bundle w/ Popper.js -->
+<!-- JS, Popper.js, and jQuery -->
<script src="{{ site.cdn.jquery }}" integrity="{{ site.cdn.jquery_hash }}" crossorigin="anonymous"></script>
-<script src="{{ site.cdn.js_bundle }}" integrity="{{ site.cdn.js_bundle_hash }}" crossorigin="anonymous"></script>
+<script src="{{ site.cdn.popper }}" integrity="{{ site.cdn.popper_hash }}" crossorigin="anonymous"></script>
+<script src="{{ site.cdn.js }}" integrity="{{ site.cdn.js_hash }}" crossorigin="anonymous"></script>
{% endhighlight %}
</div>
</div>