Make links relative

This commit is contained in:
Martin Raiber 2024-12-22 21:55:21 +01:00
parent 547f992fa9
commit 446ef32a63

View File

@ -3,7 +3,7 @@
{% if page.url == node.url %}
<span class="active">{{node.nav_title}}</span>
{% else %}
<a href="{{node.url}}">{{node.nav_title}}</a>
<a href="{{node.url | remove_first:'/'}}">{{node.nav_title}}</a>
{% endif %}
{% endif %}
{% endfor %}