[website] load external scripts without schema
Avoid loading external stylesheets and scripts over plain HTTP when using HTTPS (the default in vagrantup.com). This avoids browsers blocking the external resources due to mixed content issues when HTTPS is used (e.g., "This page is trying to load scripts from unauthenticated sources" warning shown in Chrome).
This commit is contained in:
parent
e0a15edef5
commit
c806b55f78
|
@ -22,8 +22,8 @@
|
||||||
<%= javascript_include_tag "vagrantup" %>
|
<%= javascript_include_tag "vagrantup" %>
|
||||||
|
|
||||||
<!-- fonts -->
|
<!-- fonts -->
|
||||||
<link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
|
<link href='//fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
|
||||||
<script type="text/javascript" src="http://use.typekit.net/xfs6zus.js"></script>
|
<script type="text/javascript" src="//use.typekit.net/xfs6zus.js"></script>
|
||||||
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
|
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
<%= javascript_include_tag "vagrantup" %>
|
<%= javascript_include_tag "vagrantup" %>
|
||||||
|
|
||||||
<!-- fonts -->
|
<!-- fonts -->
|
||||||
<link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
|
<link href='//fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
|
||||||
<script type="text/javascript" src="http://use.typekit.net/xfs6zus.js"></script>
|
<script type="text/javascript" src="//use.typekit.net/xfs6zus.js"></script>
|
||||||
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
|
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
|
||||||
|
|
||||||
<!-- Blog -->
|
<!-- Blog -->
|
||||||
|
|
Loading…
Reference in New Issue