For external dependencies, href to "https://..."
Was previously "//..." - handy for compatibility with both http and https referring pages, but breaks file://... referring pages (e.g. building a preview). Always use https, as all our Apache websites are https based. Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn-site/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn-site/commit/30dea9e4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn-site/tree/30dea9e4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn-site/diff/30dea9e4 Branch: refs/heads/master Commit: 30dea9e4705067868fddcd823a3444d3c88f5f4e Parents: 8853f15 Author: Richard Downer <[email protected]> Authored: Wed Aug 20 12:15:34 2014 +0100 Committer: Richard Downer <[email protected]> Committed: Thu Aug 21 17:33:14 2014 +0100 ---------------------------------------------------------------------- _layouts/base.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn-site/blob/30dea9e4/_layouts/base.html ---------------------------------------------------------------------- diff --git a/_layouts/base.html b/_layouts/base.html index 6830c5e..996c1c2 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -5,7 +5,7 @@ <title>{{ page.title }} - Apache Brooklyn (incubating)</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> -<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> +<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> <link href="{{site.url}}style/css/bootstrap-theme.css" rel="stylesheet"> <link href="{{site.url}}style/css/theme.css" rel="stylesheet"> </head> @@ -42,8 +42,8 @@ {{ content }} -<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> -<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script> +<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> +<script src="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script> <script language="JavaScript" type="application/javascript"> $(window).resize(function () { $('body').css('padding-top', parseInt($('#header').css("height"))+10);
