Removed unnecessary trailing slash for menu items

This commit is contained in:
Teo-CD 2020-10-03 01:05:58 +02:00
parent 39cffcefc7
commit 3da93770d0

View file

@ -100,7 +100,6 @@
{% set item_url = item.url | replace(from="$BASE_URL", to=config.base_url ~ "/" ~ lang) %}
{% endif %}
{% set item_url = item_url ~ "/" %}
<a itemprop="url"
class="navbar-item {% if item_url == current_url %}is-active{% endif %}"
href="{{ item_url }}">