From 90def02dd7d54e62cbfe8f4e78b6e1e198b631be Mon Sep 17 00:00:00 2001 From: welpo Date: Thu, 15 Feb 2024 23:35:44 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(404):=20fix=20broken=20langu?= =?UTF-8?q?age=20selection=20from=20404=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #279. --- templates/partials/language_switcher.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/partials/language_switcher.html b/templates/partials/language_switcher.html index 3283f2e36..83cf61f16 100644 --- a/templates/partials/language_switcher.html +++ b/templates/partials/language_switcher.html @@ -27,7 +27,7 @@ {#- Check if the current language is the default language -#} {#- If it is, append the language code to the base URL -#} {%- elif lang == config.default_language -%} - {{ language_name }} + {{ language_name }} {%- else -%} {#- If it's not, replace the current language code in the URL with the new one -#} {{ language_name }}