[Docs] Force using current protocol scheme for resources and links

If the docs is accessed with https, change all links to be https as well.
This commit is contained in:
Adrien Loison authored and Adrien Loison committed 2019-10-17 10:32:39 +00:00
1 parent 8a2dcc946b
commit 859b8d336e
7 files changed
+21 -11

No files matched your search

+5 -5
View File
@@ -1,7 +1,7 @@
<header class="site-header">
<div class="wrapper">
<a class="site-title" href="{{ site.github.url }}/">{{ site.title }}</a>
<a class="site-title" href="{{ site_url }}/">{{ site.title }}</a>
<nav class="site-nav">
<a href="#" class="menu-icon">
@@ -12,10 +12,10 @@
</svg>
</a>
<div class="trigger">
<a class="page-link" href="{{ site.github.url }}/getting-started/">Getting Started</a>
<a class="page-link" href="{{ site.github.url }}/docs/">Documentation</a>
<a class="page-link" href="{{ site.github.url }}/guides/">Guides</a>
<a class="page-link" href="{{ site.github.url }}/faq/">FAQ</a>
<a class="page-link" href="{{ site_url }}/getting-started/">Getting Started</a>
<a class="page-link" href="{{ site_url }}/docs/">Documentation</a>
<a class="page-link" href="{{ site_url }}/guides/">Guides</a>
<a class="page-link" href="{{ site_url }}/faq/">FAQ</a>
<a class="page-link" href="{{ site.github.repository_url }}">
<span class="icon icon--github">{% include icon-github.svg %}</span>
<span class="username">GitHub</span>