Localize all links in the footer

This commit is contained in:
hiro 2019-11-25 17:58:46 +01:00
parent ae416478e7
commit dc998ccf31

View File

@ -36,7 +36,12 @@
{% if link %}
<a class="nav-link text-light" href="{{ item.path|url(alt=this.alt) }}">
{% else %}
<a class="nav-link text-light" href="{{ item.path }}">
{% set link = bag('links', this.alt, id) %}
{% if link %}
<a class="nav-link text-light" href="{{ link }}">
{% else %}
<a class="nav-link text-light" href="{{ item.path }}">
{% endif %}
{% endif %}
{{ _(item.label) }}
{% if this.is_child_of(item.path) %}