making all path relative

This commit is contained in:
Set Hallstrom 2019-12-16 12:12:57 +01:00
parent 1d1c40fd3b
commit f39725b142
24 changed files with 85 additions and 61 deletions

View file

@ -2,7 +2,7 @@
<ul>
{% for link in site.data.navigation %}
<li class="icofont">
<a href="{{ site.baseurl }}{{ link.url }}" title="{{ link.title }}" class="{{ link.text }}{% if page.url == link.url %} current{% endif %}"></a>
<a href="{{ relBase }}{{ link.url }}" title="{{ link.title }}" class="{{ link.text }}{% if page.url == link.url %} current{% endif %}"></a>
</li>
{% endfor %}
<li class="icofont">