From: Greg Wilson Date: Thu, 21 Jul 2016 00:01:47 +0000 (-0400) Subject: Forcing CSS and Javascript to be loaded via HTTPS. X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/commitdiff_plain/a19a62597f86213549865870a0f8e043c8aac9df 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`. --- 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 %}