From 58d0dd6f2f918cc0ce8eb649d521d8a385e94bd0 Mon Sep 17 00:00:00 2001 From: welpo Date: Tue, 30 May 2023 14:01:25 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20mention=20translations=20?= =?UTF-8?q?in=20404=20if=20there's=20more=20than=201=20language?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/404.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/404.html b/templates/404.html index 209985cfb..c63ea09bb 100644 --- a/templates/404.html +++ b/templates/404.html @@ -6,7 +6,7 @@
not found
{# Default English message #} -

The page you requested doesn't seem to exist{%- if config.languages | length > 1 %} or has not been translated to your language yet{%- endif -%}. Check the URL for errors, or return to the homepage.

+

The page you requested doesn't seem to exist{%- if config.languages | length > 0 %} or has not been translated to your language yet{%- endif -%}. Check the URL for errors, or return to the homepage.

{# Iterate through each language and display the localised 404 message along with a "Go Home" link #} {%- for language_name, language in config.languages -%}