From a19a62597f86213549865870a0f8e043c8aac9df Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Wed, 20 Jul 2016 20:01:47 -0400 Subject: [PATCH] Forcing CSS and Javascript to be loaded via HTTPS. Using `site.github.url` to refer to the repository fails to load resources when the GitHub Pages site is accessed via HTTPS, because `site.github.url` is `http` protocol. This modifies loads of CSS and Javascript files to always use `https`. --- _includes/javascript.html | 6 +++--- _layouts/base.html | 8 ++++---- _layouts/workshop.html | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/_includes/javascript.html b/_includes/javascript.html index c2d678c..ccf0a88 100644 --- a/_includes/javascript.html +++ b/_includes/javascript.html @@ -1,3 +1,3 @@ - - - + + + diff --git a/_layouts/base.html b/_layouts/base.html index 2efa93a..20ce747 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -7,10 +7,10 @@ - - - - + + + + {% if site.carpentry == "swc" %} {% endif %} diff --git a/_layouts/workshop.html b/_layouts/workshop.html index b9367e0..d52ee62 100644 --- a/_layouts/workshop.html +++ b/_layouts/workshop.html @@ -25,9 +25,9 @@ - - - + + + {% if site.carpentry == "swc" %} {% endif %} -- 2.30.2