diff options
author | Carl H <mail@carlhicks.me> | 2015-07-30 01:53:42 +0300 |
---|---|---|
committer | Carl H <mail@carlhicks.me> | 2015-07-30 01:53:42 +0300 |
commit | 86395bd2f806a38c23d71ff0a2c9f721583a0b52 (patch) | |
tree | cd2913174783bb308caf9ed1475371b3909ab11d | |
parent | 57de3c32ad8487ef9771d2b9f31a40fc03da2823 (diff) |
Suggesting protocol relatives
Suggesting the use of protocol relatives URIs to stop mixed content errors when using theme with tls in production but allowing for standard behavior in development environment.
Also really sweet theme thanks for sharing 👍👍
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 70d1579..62b4cdd 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,12 +1,12 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> +<html xmlns="//www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" /> <title>{{ .Title }} · {{ .Site.Title }}</title> - <link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600' type='text/css'> + <link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans:400,300,600' type='text/css'> <link rel="stylesheet" href="{{ .Site.BaseURL }}/libraries/normalize.3.0.1.css" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/liquorice.css" /> <link rel="shortcut icon" href="/favicon.ico" /> |