diff options
| author | Chris Rebert <[email protected]> | 2015-10-23 22:35:22 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-10-23 22:35:22 -0700 |
| commit | 3bc5fb947dabc2ec2ab52bbd29cb978a8a8f54f3 (patch) | |
| tree | 0b36098860821570164cbeadd3a2f787860b13e4 /docs/index.html | |
| parent | a30a5bb9b5129a012e7668ce1340ad86d18af822 (diff) | |
| download | bootstrap-3bc5fb947dabc2ec2ab52bbd29cb978a8a8f54f3.tar.xz bootstrap-3bc5fb947dabc2ec2ab52bbd29cb978a8a8f54f3.zip | |
Port #17729 to v4: Add SRI hashes to CDN links in docs
[skip sauce]
Diffstat (limited to 'docs/index.html')
| -rw-r--r-- | docs/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/index.html b/docs/index.html index 45cf7eb61..47c469c42 100644 --- a/docs/index.html +++ b/docs/index.html @@ -33,8 +33,8 @@ title: Bootstrap · The world's most popular mobile-first and responsive f <p>When you just need to include Bootstrap's compiled CSS and JS, use the Bootstrap CDN, free from the Max CDN folks.</p> {% comment %} {% highlight html %} -<link rel="stylesheet" href="{{ site.cdn.css }}"> -<script src="{{ site.cdn.js }}"></script> +<link rel="stylesheet" href="{{ site.cdn.css }}" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous"> +<script src="{{ site.cdn.js }}" integrity="{{ site.cdn.js_hash }}" crossorigin="anonymous"></script> {% endhighlight %} {% endcomment %} <p class="text-muted">Not yet available, but hopefully soon!</p> |
