From ebf4bca831ccd4bfdd90c12dfb0d5a45983879ad Mon Sep 17 00:00:00 2001 From: Adrien Loison Date: Thu, 17 Oct 2019 12:35:33 +0200 Subject: [PATCH] [docs] Fix site_url --- docs/_layouts/default.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 740a5a6..2fd3dd6 100755 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -1,10 +1,13 @@ + + {% comment %} + This is a hack to force using HTTPS... + The URL of the docs should be changed in the repo settings instead + {% endcomment %} {% assign protocol_scheme = page.url | absolute_url | truncate: 5, "" %} {%- capture site_url -%} {%- if protocol_scheme == "https" -%} - - {{ site.github.url | replace: "http", "https" }} {%- else -%} {{ site.github.url }}