aboutsummaryrefslogtreecommitdiff
path: root/website/templates
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2018-03-27 23:31:45 +0200
committerRoel Spilker <r.spilker@gmail.com>2018-03-27 23:31:45 +0200
commitaf9861ad9f7151c6d12f56ecf11d7ce10826201a (patch)
treea4e600f559b756512f0f0710dda56ae6dcbcc20d /website/templates
parent327def3adad63510e9b9202efa3108acd505c4b7 (diff)
downloadlombok-af9861ad9f7151c6d12f56ecf11d7ce10826201a.tar.gz
lombok-af9861ad9f7151c6d12f56ecf11d7ce10826201a.tar.bz2
lombok-af9861ad9f7151c6d12f56ecf11d7ce10826201a.zip
add subresource integrity to external resources on webpage
Diffstat (limited to 'website/templates')
-rw-r--r--website/templates/_scaffold.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/website/templates/_scaffold.html b/website/templates/_scaffold.html
index 8bb22635..e3096d7d 100644
--- a/website/templates/_scaffold.html
+++ b/website/templates/_scaffold.html
@@ -43,10 +43,12 @@
<title>${title}</title>
- <script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
+ <script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"
+ integrity="sha384-bPV3mA2eo3edoq56VzcPBmG1N1QVUfjYMxVIJPPzyFJyFZ8GFfN7Npt06Zr23qts" crossorigin="anonymous"></script>
<link href="/css/bootstrap.css" rel="stylesheet" />
- <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" />
+ <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css"
+ integrity="sha384-CmLV3WR+cw/TcN50vJSYAs2EAzhDD77tQvGcmoZ1KEzxtpl2K5xkrpFz9N2H9ClN" crossorigin="anonymous">
<link href="/css/custom.css" rel="stylesheet" />
@@ -55,8 +57,10 @@
<link href="${ld?url_path}" rel="stylesheet" />
</#if>
</#list>
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
- <script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/js/bootstrap.min.js"></script>
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"
+ integrity="sha384-Pn+PczAsODRZ2PiGg0IheRROpP7lXO1NTIjiPo6cca8TliBvaeil42fobhzvZd74" crossorigin="anonymous"></script>
+ <script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/js/bootstrap.min.js"
+ integrity="sha384-VI5+XuguQ/l3kUhh4knz7Hxptx47wpQbVRDnp8v7Vvuhzwn1PEYb/uvtH6KLxv6d" crossorigin="anonymous"></script>
<script src="/js/history.js"></script>
<script src="/js/main.js"></script>