fix: Mobile menu with baseurl set

pull/1/head
Karsten Lehmann 2020-10-03 12:30:51 +02:00
parent 5ce60dc979
commit 95220c0500
No known key found for this signature in database
GPG Key ID: 6C34E8199743C270
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@
<ul>
{% for item in mainmenu %}
<li class="{% if item.url == page.url %}active{% endif %}">
<a href="{{ item.url }}">{{ item.name }}</a>
<a href="{{ item.url | relative_url }}">{{ item.name }}</a>
</li>
{% endfor %}
</ul>
</div>
</div>