M templates/nav.html →
templates/nav.html {%- if item.url is matching("https?://") %}
<a href="{{ item.url }}">{{ item.name }}</a>
{%- else %}
- <a href="{{ get_url(path=item.url )}}">{{ item.name }}</a>
+ <a href="{{ get_url(path=item.url, lang=lang )}}">{{ item.name }}</a>
{%- endif %}
{%- endfor %}
{%- endif -%}