diff options
author | Alan Pearce | 2024-01-30 18:39:51 +0000 |
---|---|---|
committer | Alan Pearce | 2024-01-30 18:39:51 +0000 |
commit | 0347efbadcfe627acd25dd5138d295773c7e5594 (patch) | |
tree | 7405d44166f372f795420821802fb64228e3932e /templates/nav.html | |
parent | d10630da50a2b0e005ef0499190cc5cc898f0b06 (diff) | |
parent | f9a560a45d98436c270db6f226f26ccde5dd8844 (diff) | |
download | zola-bearblog-0347efbadcfe627acd25dd5138d295773c7e5594.tar.lz zola-bearblog-0347efbadcfe627acd25dd5138d295773c7e5594.tar.zst zola-bearblog-0347efbadcfe627acd25dd5138d295773c7e5594.zip |
Merge pull request 'Use the localised version of get_url so multilingual sites can be setup' (#2) from g4m4/zola-bearblog:multilingual_fixes into main
Reviewed-on: https://codeberg.org/alanpearce/zola-bearblog/pulls/2
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 -%} |