diff options
author | Alan Pearce | 2024-02-20 17:05:02 +0100 |
---|---|---|
committer | Alan Pearce | 2024-02-20 17:05:02 +0100 |
commit | f138825a20271b4c117ddd42ea6749a4378a9efb (patch) | |
tree | 61cca45e7dae3250856e4a5b060feda8cf91a5be | |
parent | 21091740f78eb4653cfc7e1dceba6f8856f3d210 (diff) | |
download | zola-bearblog-f138825a20271b4c117ddd42ea6749a4378a9efb.tar.lz zola-bearblog-f138825a20271b4c117ddd42ea6749a4378a9efb.tar.zst zola-bearblog-f138825a20271b4c117ddd42ea6749a4378a9efb.zip |
Add missing trailing slash to translation links
-rw-r--r-- | templates/language_switcher.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/language_switcher.html b/templates/language_switcher.html index a300028..3af5e66 100644 --- a/templates/language_switcher.html +++ b/templates/language_switcher.html @@ -5,7 +5,7 @@ {%- if tr.code == lang %} <strong>{{ tr.name }}</strong> {%- else %} - <a href="{{ get_url(path=language_agnostic_path, lang=tr.code) }}">{{ tr.name }}</a> + <a href="{{ get_url(path=language_agnostic_path, lang=tr.code) ~ "/" }}">{{ tr.name }}</a> {%- endif %} {%- endfor %} </nav> |