Omit protocol from embedded font resources

Fixes the mixed content errors and loads fonts when accessing
https://gohugo.io/
This commit is contained in:
Éli Marshal 2015-07-10 16:53:03 -06:00 committed by Bjørn Erik Pedersen
parent c4f81840f7
commit 90af334c21
2 changed files with 2 additions and 2 deletions

View 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">

View file

@ -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