diff options
| author | Chris Rebert <[email protected]> | 2015-10-23 22:41:10 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-10-23 22:41:10 -0700 |
| commit | e2fd019ece94dbf28de0a0ab7dc6a31fe57f6c5c (patch) | |
| tree | 0b36098860821570164cbeadd3a2f787860b13e4 /docs/index.html | |
| parent | a30a5bb9b5129a012e7668ce1340ad86d18af822 (diff) | |
| parent | 3bc5fb947dabc2ec2ab52bbd29cb978a8a8f54f3 (diff) | |
| download | bootstrap-e2fd019ece94dbf28de0a0ab7dc6a31fe57f6c5c.tar.xz bootstrap-e2fd019ece94dbf28de0a0ab7dc6a31fe57f6c5c.zip | |
Merge pull request #18042 from twbs/cdn-sri
Add SRI hashes to CDN links in docs
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> |
