summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/404.html
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-09-04 18:38:25 +0200
committerAdam Tauber <asciimoo@gmail.com>2016-09-04 18:38:25 +0200
commitc2f4d4449ddba0a3899a5d4098e2c5e451c83ac8 (patch)
tree2618ae8d893fc532cac05de0ba045cac05f73ce8 /searx/templates/oscar/404.html
parentb4b02316173c911f2b12d7c41b9729b28bc9c32c (diff)
downloadsearxng-c2f4d4449ddba0a3899a5d4098e2c5e451c83ac8.tar.gz
searxng-c2f4d4449ddba0a3899a5d4098e2c5e451c83ac8.zip
[fix] 404 page localization
Diffstat (limited to 'searx/templates/oscar/404.html')
-rw-r--r--searx/templates/oscar/404.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/searx/templates/oscar/404.html b/searx/templates/oscar/404.html
index 39836ce0e..cdb31db73 100644
--- a/searx/templates/oscar/404.html
+++ b/searx/templates/oscar/404.html
@@ -2,6 +2,8 @@
{% block content %}
<div class="text-center">
<h1>{{ _('Page not found') }}</h1>
- <p>{{ _('Go to <a href="/">search page</a>.') }}</p>
+ {% autoescape false %}
+ <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.format(url_for('index'), _('search page'))) }}</p>
+ {% endautoescape %}
</div>
{% endblock %}