Description: Fix privacy breaches in documentation by using system JS libs
 We replace the bundled upstream bootstrap/jquery JS dists with links to minified
 versions provided by Debian packages
 .
 We also remove a Google tracker and link to a remote logo
Author: Nick Morrott <knowledgejunkie@gmail.com>
Forwarded: not-needed
Last-Update: 2018-12-29
---
--- a/docs/_layouts/default.html
+++ b/docs/_layouts/default.html
@@ -7,14 +7,8 @@
     <meta name="description" content="">
     <meta name="author" content="">
 
-    <link href='https://fonts.googleapis.com/css?family=Lato:100,400' rel='stylesheet' type='text/css'>
-    <link href="//yottabuild.org/style/css/style.css" rel="stylesheet" type="text/css">
-    <link href="{{ site.github.url }}/bower_components/bootstrap/dist/css/bootstrap.css" rel="stylesheet">
+    <link href="file:///usr/share/javascript/bootstrap/css/bootstrap.css" rel="stylesheet">
     <link href="{{ site.github.url }}/assets/css/docs.css" rel="stylesheet">
-    <!--[if lt IE 9]>
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js">
-      </script>
-    <![endif]-->
     <link rel="shortcut icon" href="{{ site.github.url }}/assets/img/yt.png">
     <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.github.url }}/assets/ico/apple-touch-icon-144-precomposed.png">
     <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ site.github.url }}/assets/ico/apple-touch-icon-114-precomposed.png">
@@ -65,9 +59,7 @@
         <div class="row">
             <div class="footer">
                 <div class="mbed-logo">
-                    <a class="mbedLink" href="http://www.mbed.com" title="back to mbed home">
-                        <img src="http://yottabuild.org/images/ARMmbedLogo.svg">
-                    </a>
+                    <a class="mbedLink" href="http://www.mbed.com" title="back to mbed home">Back to mbed home</a>
                 </div>
                 <div class="copyright-bar">
                     <div class="copyright">© ARM Ltd. Copyright 2015 – ARM mbed IoT Device Platform</div>
@@ -86,22 +78,12 @@
     <style>
       
     </style>
-    <script src="{{ site.github.url }}/bower_components/jquery/dist/jquery.min.js"></script>
-    <script src="{{ site.github.url }}/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
+    <script src="file:///usr/share/javascript/jquery/jquery.min.js"></script>
+    <script src="file:///usr/share/javascript/bootstrap/js/bootstrap.min.js"></script>
 
     <script>
       $('#menu [data-section="{{page.section}}"]').addClass('active');
     </script>
-
-    <script type="text/javascript">
-      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
-      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
-      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
-      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
-      ga('create', 'UA-55282605-1', 'auto');
-      ga('send', 'pageview');
-    </script>
   </body>
 </html>
 
