From 0262c5912f8f529bb04150855ff2c48a5f46feaa Mon Sep 17 00:00:00 2001 From: "Abhay Rana (Nemo)" <me@captnemo.in> Date: Tue, 26 Nov 2013 11:48:40 +0530 Subject: [PATCH] Fixes mixed content warning on HTTPS sites Loading google fonts over SSL fixes the mixed content warning. --- _layouts/base.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/base.html b/_layouts/base.html index b515898..56e1e13 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -4,7 +4,7 @@ <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{% if page.title %}{{ page.title }} — {{ site.inc.title }}{% else %}{{ site.inc.title }} — {{ site.inc.subtitle }}{% endif %}</title> - {% if site.inc.google_font %}<link href="http://fonts.googleapis.com/css?family={{ site.inc.google_font }}" rel="stylesheet" type="text/css">{% endif %} + {% if site.inc.google_font %}<link href="https://fonts.googleapis.com/css?family={{ site.inc.google_font }}" rel="stylesheet" type="text/css">{% endif %} {% stylesheet main %} <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <link rel="apple-touch-icon" href="/images/{{ site.inc.logo }}"/> @@ -78,4 +78,4 @@ {% include _scripts.html %} </body> -</html> \ No newline at end of file +</html> -- GitLab