diff options
author | g4m4 | 2024-01-29 09:45:17 +0100 |
---|---|---|
committer | g4m4 | 2024-01-29 09:45:17 +0100 |
commit | f9a560a45d98436c270db6f226f26ccde5dd8844 (patch) | |
tree | 7405d44166f372f795420821802fb64228e3932e /templates/nav.html | |
parent | d10630da50a2b0e005ef0499190cc5cc898f0b06 (diff) | |
download | zola-bearblog-f9a560a45d98436c270db6f226f26ccde5dd8844.tar.lz zola-bearblog-f9a560a45d98436c270db6f226f26ccde5dd8844.tar.zst zola-bearblog-f9a560a45d98436c270db6f226f26ccde5dd8844.zip |
[TEMPLATES] Use the localised version of get_url so multilingual sites can be setup
Diffstat (limited to 'templates/nav.html')
-rw-r--r-- | templates/nav.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/nav.html b/templates/nav.html index e006ab1..e18fda2 100644 --- a/templates/nav.html +++ b/templates/nav.html @@ -4,7 +4,7 @@ {%- 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 -%} |