From 9bf28eedc435e0fa79b1b5db441ae2326f23cc32 Mon Sep 17 00:00:00 2001 From: Stefan Zeiger Date: Mon, 28 Nov 2016 20:07:28 +0100 Subject: Use https links to JS and CSS in the spec when serving from https The spec is published on a server that supports https (https://www.scala-lang.org/files/archive/spec/2.11/) and this comes up as the default in search results (as it should) but the link to MathJAX is hardcoded to http, which prevents any web browser that cares about security from loading it. This commit changes the links to MathJAX and to the Highlight.js stylesheet to be scheme-relative (like the link to JQuery already was). --- spec/_layouts/default.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec') diff --git a/spec/_layouts/default.yml b/spec/_layouts/default.yml index 69791d26ad..d41d045311 100644 --- a/spec/_layouts/default.yml +++ b/spec/_layouts/default.yml @@ -15,9 +15,9 @@ } }); - + - +