Merge pull request #21 from kalehmann/patch-20

fix: Mobile menu with baseurl set
pull/1/head
Robert Austin 2020-10-16 13:56:54 +10:00 committed by GitHub
commit 30df6978d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>