aboutsummaryrefslogtreecommitdiff
path: root/templates/404.html
diff options
context:
space:
mode:
authorJieiku2024-08-11 02:49:14 +0000
committerJieiku2024-08-11 02:49:14 +0000
commit1da9c7eb7d6f22928619889ea58d767dd66ea1a0 (patch)
treeedf03765c7e58faf334e09a11377c7da1a856080 /templates/404.html
parent235bf285b0bd5477cb0264a603a8e1b747785f6e (diff)
downloadabridge-1da9c7eb7d6f22928619889ea58d767dd66ea1a0.tar.gz
abridge-1da9c7eb7d6f22928619889ea58d767dd66ea1a0.tar.bz2
abridge-1da9c7eb7d6f22928619889ea58d767dd66ea1a0.zip
Deploying to master from @ Jieiku/abridge@85d56dcf658be69ee30689b4d31ac69a4702487b 🚀
Diffstat (limited to 'templates/404.html')
-rw-r--r--templates/404.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/404.html b/templates/404.html
index 40fb731..8c42866 100644
--- a/templates/404.html
+++ b/templates/404.html
@@ -32,5 +32,8 @@
<p>{{ macros::translate(key="404_not_found", default="404_not_found", i18n=i18n_404) }}{{ macros::translate(key="full_stop", default=".", i18n=i18n_404) }} {% if config.build_search_index %}{{ macros::translate(key="404_try_search", default="Try searching or", i18n=i18n_404) }}{% endif %} <a href="{{ config.base_url }}/{{ lcode }}/{%- if uglyurls %}index.html{%- endif %}">{{ macros::translate(key="404_go_home", default="go to homepage", i18n=i18n_404) }}</a>{{ macros::translate(key="full_stop", default=".", i18n=i18n_404) }}</p>
{%- endif -%}
{%- endfor -%}
+ {% if config.default_language != "en" %}
+ <p>{{ macros::translate(key="404_not_found", default="404_not_found", i18n=i18n) }}{{ macros::translate(key="full_stop", default=".", i18n=i18n) }} {% if config.build_search_index %}{{ macros::translate(key="404_try_search", default="Try searching or", i18n=i18n) }}{% endif %} <a href="{{ config.base_url }}/{%- if uglyurls %}index.html{%- endif %}">{{ macros::translate(key="404_go_home", default="go to homepage", i18n=i18n) }}</a>{{ macros::translate(key="full_stop", default=".", i18n=i18n) }}</p>
+ {% endif %}
</div>
{%- endblock content %}