diff options
| author | Jieiku | 2024-08-11 02:49:14 +0000 |
|---|---|---|
| committer | Jieiku | 2024-08-11 02:49:14 +0000 |
| commit | 1da9c7eb7d6f22928619889ea58d767dd66ea1a0 (patch) | |
| tree | edf03765c7e58faf334e09a11377c7da1a856080 /templates/404.html | |
| parent | 235bf285b0bd5477cb0264a603a8e1b747785f6e (diff) | |
| download | abridge-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.html | 3 |
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 %} |
