summaryrefslogtreecommitdiffhomepage
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorIan Lewis <ianmlewis@gmail.com>2019-05-30 04:20:12 -0400
committerIan Lewis <ianlewis@google.com>2019-05-31 08:15:32 +0900
commitd480bf388918944d322a499f3dbbd51f7e977b82 (patch)
tree8feea97a105b6a2e3a834f0285f7ead1fde98696 /layouts/partials/head.html
parentb532e65552a6035a827b5df28aaaee4d003c420e (diff)
Serve all javascript from gvisor.dev
For security & privacy reasons, serve javascript from gvisor.dev instead of using external CDNs.
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html10
1 files changed, 2 insertions, 8 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 47c205a2f..1587dbddc 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -20,12 +20,6 @@
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
{{ partialCached "head-css.html" . "asdf" }}
-<script
- src="https://code.jquery.com/jquery-3.3.1.min.js"
- integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
- crossorigin="anonymous"></script>
-<script
- src="https://d3js.org/d3.v4.min.js"
- integrity="sha384-1EOYqz4UgZkewWm70NbT1JBUXSQpOIS2AaJy6/evZH+lXOrt9ITSJbFctNeyBoIJ"
- crossorigin="anonymous"></script>
+<script src="/js/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
+<script src="/js/d3.v4.min.js" integrity="sha384-1EOYqz4UgZkewWm70NbT1JBUXSQpOIS2AaJy6/evZH+lXOrt9ITSJbFctNeyBoIJ" crossorigin="anonymous"></script>
{{ partial "hooks/head-end.html" . }}