Skip to content

Commit

Permalink
Omit protocol from embedded font resources
Browse files Browse the repository at this point in the history
Fixes the mixed content errors and loads fonts when accessing
https://gohugo.io/
  • Loading branch information
EMarshal authored and tychoish committed Aug 13, 2017
1 parent 8555cff commit 19fbcbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
2 changes: 1 addition & 1 deletion docs/static/css/style.css
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 19fbcbe

Please sign in to comment.