about summary refs log tree commit diff stats
path: root/templates/language_switcher.html
diff options
context:
space:
mode:
authorAlan Pearce2024-02-20 17:05:02 +0100
committerAlan Pearce2024-02-20 17:05:02 +0100
commitf138825a20271b4c117ddd42ea6749a4378a9efb (patch)
tree61cca45e7dae3250856e4a5b060feda8cf91a5be /templates/language_switcher.html
parent21091740f78eb4653cfc7e1dceba6f8856f3d210 (diff)
downloadzola-bearblog-f138825a20271b4c117ddd42ea6749a4378a9efb.tar.lz
zola-bearblog-f138825a20271b4c117ddd42ea6749a4378a9efb.tar.zst
zola-bearblog-f138825a20271b4c117ddd42ea6749a4378a9efb.zip
Add missing trailing slash to translation links
Diffstat (limited to 'templates/language_switcher.html')
-rw-r--r--templates/language_switcher.html2
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>