From 8ecd23b940b3e3079be9c248535b933ea6120030 Mon Sep 17 00:00:00 2001 From: welpo Date: Thu, 25 May 2023 18:00:39 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AB=20refactor(404):=20remove=20mentio?= =?UTF-8?q?n=20of=20translations=20for=20single=20language=20sites?= 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 76e28a4..209985c 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 or has not been translated to your language yet. Check the URL for errors, or return to the homepage.

+

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.

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