all repos — zola-bearblog @ f138825a20271b4c117ddd42ea6749a4378a9efb

Port of bear blog theme to zola

Add missing trailing slash to translation links

Alan Pearce
commit

f138825a20271b4c117ddd42ea6749a4378a9efb

parent

21091740f78eb4653cfc7e1dceba6f8856f3d210

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M templates/language_switcher.htmltemplates/language_switcher.html
@@ -5,7 +5,7 @@ {%- for tr in config.extra.translations %}
{%- 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>