13 lines
410 B
HTML
13 lines
410 B
HTML
{% 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 -%}
|