summaryrefslogtreecommitdiff
path: root/searx/templates/default/404.html
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/default/404.html')
-rw-r--r--searx/templates/default/404.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/searx/templates/default/404.html b/searx/templates/default/404.html
index 18012f2ac..1d88f86c4 100644
--- a/searx/templates/default/404.html
+++ b/searx/templates/default/404.html
@@ -2,6 +2,8 @@
{% block content %}
<div class="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>'.decode('utf-8').format(url_for('index'), _('search page'))) }}</p>
+ {% endautoescape %}
</div>
{% endblock %}