@@ -9,7 +8,7 @@
{% assign sectionIconsAsArray = sectionIcons | split:'~~' %}
{% for icon in sectionIconsAsArray %}
-

+

{% endfor %}
{% endif %}
diff --git a/docs/_includes/set-global-site-url.html b/docs/_includes/set-global-site-url.html
new file mode 100644
index 0000000..6c59431
--- /dev/null
+++ b/docs/_includes/set-global-site-url.html
@@ -0,0 +1,12 @@
+{% 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 }}
+ {%- endif -%}
+{%- endcapture -%}
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html
index 2fd3dd6..b95aab0 100755
--- a/docs/_layouts/default.html
+++ b/docs/_layouts/default.html
@@ -1,18 +1,7 @@
- {% 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 }}
- {%- endif -%}
- {%- endcapture -%}
+ {% include set-global-site-url.html %}
{% include head.html %}
@@ -26,14 +15,6 @@
{{ content }}
-
-
{% include footer.html %}
{% include algolia.html %}
diff --git a/docs/_layouts/page.html b/docs/_layouts/page.html
index d8028d5..3f4c0e6 100755
--- a/docs/_layouts/page.html
+++ b/docs/_layouts/page.html
@@ -1,6 +1,7 @@
---
layout: default
---
+