Fix relative url in language selector

This commit is contained in:
hiro 2018-11-28 20:08:27 +01:00
parent 367df4e0d4
commit bc03c0daac

View File

@ -31,7 +31,7 @@
<div class="dropdown-menu">
{% for id, item in bag('alternatives').items() %}
{% if this.alt != id %}
<a class="dropdown-item" href="{{ this.path|url }}">{{ item.language }}</a>
<a class="dropdown-item" href="{{ this.url|url }}">{{ item.language }}</a>
{% endif %}
{% endfor %}
</div>