Omit protocol from embedded font resources
authorÉli Marshal <elimarshal@gmail.com>
Fri, 10 Jul 2015 22:53:03 +0000 (16:53 -0600)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 10 Jul 2015 23:10:45 +0000 (01:10 +0200)
Fixes the mixed content errors and loads fonts when accessing
https://gohugo.io/

docs/layouts/index.html
docs/static/css/style.css

index e7d3d423d3ac9800ad2403dfcec5cef34db030ee..d7fb4a513dea5a80e1251a4b96aedc5289e697da 100644 (file)
@@ -11,7 +11,7 @@
     <!-- Bootstrap core CSS -->
     <link href="/css/bootstrap-theme.css" rel="stylesheet">
 
-    <link href='http://fonts.googleapis.com/css?family=Arbutus+Slab%7CCabin:600%7CSource+Code+Pro' rel='stylesheet' type='text/css'>
+    <link href='//fonts.googleapis.com/css?family=Arbutus+Slab%7CCabin:600%7CSource+Code+Pro' rel='stylesheet' type='text/css'>
     <!-- Add custom CSS here -->
     <link href="/css/HPstyles.css" rel="stylesheet">
     <link href="/css/hugofont.css" rel="stylesheet">
index 89f4f1ecd825c0dee16dfbb963f39cf50f57b3d0..aa147bafaf322724019ad57fb3d5bab3414d57ea 100755 (executable)
@@ -1,5 +1,5 @@
 /* Import fonts */
-@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700,900,300italic,400italic,700italic,900italic);
+@import url(//fonts.googleapis.com/css?family=Lato:300,400,700,900,300italic,400italic,700italic,900italic);
 
 /* ******************************
  For the github btn