diff --git a/templates/partials/language_switcher.html b/templates/partials/language_switcher.html index 3283f2e..83cf61f 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 }}