diff options
author | Florian Kraft <floriank@users.noreply.github.com> | 2016-02-02 17:34:37 +0300 |
---|---|---|
committer | Florian Kraft <floriank@users.noreply.github.com> | 2016-02-02 17:34:37 +0300 |
commit | a58eba8c66d868841178c8b884e7176f06d7f514 (patch) | |
tree | 1b1b8e8f334d3d4eec1dfbc0c61f8fed7a33643a | |
parent | de9c124bcbe45246454ff6d34fb109c8c90bd76e (diff) |
Use cdnjs and use relative paths
I stumbled over this while trying to launch my blog. Using a relative path should in theory be better as it leaves the choice of protocol to the browser.
Also, use CDN.js for working SSL.
-rw-r--r-- | layouts/partials/header.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7452446..971fce6 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -15,12 +15,12 @@ <link rel="stylesheet" href="{{ .Site.BaseURL }}css/fonts.css"> <!-- CSS –––––––––––––––––––––––––––––––––––––––––––––––––– --> - <link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/pure-min.css"> + <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.6.0/pure-min.css"> <!--[if lte IE 8]> - <link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/grids-responsive-old-ie-min.css"> + <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.6.0/grids-responsive-old-ie-min.css"> <![endif]--> <!--[if gt IE 8]><!--> - <link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/grids-responsive-min.css"> + <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.6.0/grids-responsive-min.css"> <!--<![endif]--> <link rel="stylesheet" href="{{ .Site.BaseURL }}css/custom.css"> |