about summary refs log tree commit diff stats
path: root/templates/nav.html
diff options
context:
space:
mode:
authorg4m42024-01-29 09:45:17 +0100
committerg4m42024-01-29 09:45:17 +0100
commitf9a560a45d98436c270db6f226f26ccde5dd8844 (patch)
tree7405d44166f372f795420821802fb64228e3932e /templates/nav.html
parentd10630da50a2b0e005ef0499190cc5cc898f0b06 (diff)
downloadzola-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.html2
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 -%}