Made links relative to html root directory

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2017-12-27 22:35:35 +01:00
parent 441f6a20e7
commit 2c99829425
8 changed files with 9 additions and 9 deletions

View File

@ -6,7 +6,7 @@
<ul class="nav">
{% for item in site.data.footer-menu.items %}
<li class="nav-item{% if page.url == item.link %} active{% endif %}">
<a class="nav-link" href="{{ item.link }}">{{ item.title }}</a>
<a class="nav-link" href="{{ item.link | relative_url }}">{{ item.title }}</a>
</li>
{% endfor %}
</ul>