💫 refactor(404): remove mention of translations for single language sites

main
welpo 2 years ago
parent 56b74ed23d
commit 8ecd23b940
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -6,7 +6,7 @@
<div class="subheader">not found</div> <div class="subheader">not found</div>
{# Default English message #} {# Default English message #}
<p>The page you requested doesn't seem to exist or has not been translated to your language yet. Check the URL for errors, or <a href="{{ config.base_url }}">return to the homepage</a>.</p> <p>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 <a href="{{ config.base_url }}">return to the homepage</a>.</p>
{# Iterate through each language and display the localised 404 message along with a "Go Home" link #} {# Iterate through each language and display the localised 404 message along with a "Go Home" link #}
{%- for language_name, language in config.languages -%} {%- for language_name, language in config.languages -%}

Loading…
Cancel
Save