aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/getting-started/template.html
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2018-09-26 09:04:02 +0300
committerXhmikosR <[email protected]>2018-10-18 11:27:47 +0300
commitc7033212b6c7156bc1ce89193c7ae385d835fc57 (patch)
treee76d749cbe3a4ef1874c98383604081d80f46c19 /docs/_includes/getting-started/template.html
parentf77c7a3c92e5fc01970eb09e507a17dddd50aa0f (diff)
downloadbootstrap-c7033212b6c7156bc1ce89193c7ae385d835fc57.tar.xz
bootstrap-c7033212b6c7156bc1ce89193c7ae385d835fc57.zip
Starter template: use the CDN files with SRI hashes.
Diffstat (limited to 'docs/_includes/getting-started/template.html')
-rw-r--r--docs/_includes/getting-started/template.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_includes/getting-started/template.html b/docs/_includes/getting-started/template.html
index d119634f1..b5497cf06 100644
--- a/docs/_includes/getting-started/template.html
+++ b/docs/_includes/getting-started/template.html
@@ -15,7 +15,7 @@
<title>Bootstrap 101 Template</title>
<!-- Bootstrap -->
- <link href="css/bootstrap.min.css" rel="stylesheet">
+ <link rel="stylesheet" href="{{ site.cdn.css }}" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
@@ -30,7 +30,7 @@
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" crossorigin="anonymous"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
- <script src="js/bootstrap.min.js"></script>
+ <script src="{{ site.cdn.js }}" integrity="{{ site.cdn.js_hash }}" crossorigin="anonymous"></script>
</body>
</html>
{% endhighlight %}