summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/templates/courgette/404.html4
-rw-r--r--searx/templates/default/404.html4
-rw-r--r--searx/templates/oscar/404.html4
-rw-r--r--searx/templates/pix-art/404.html4
4 files changed, 12 insertions, 4 deletions
diff --git a/searx/templates/courgette/404.html b/searx/templates/courgette/404.html
index 465039e3a..7a317f023 100644
--- a/searx/templates/courgette/404.html
+++ b/searx/templates/courgette/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>'.format(url_for('index'), _('search page'))) }}</p>
+ {% endautoescape %}
</div>
{% endblock %}
diff --git a/searx/templates/default/404.html b/searx/templates/default/404.html
index 18012f2ac..dc968a109 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>'.format(url_for('index'), _('search page'))) }}</p>
+ {% endautoescape %}
</div>
{% endblock %}
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 %}
diff --git a/searx/templates/pix-art/404.html b/searx/templates/pix-art/404.html
index 27e89ae02..27a614084 100644
--- a/searx/templates/pix-art/404.html
+++ b/searx/templates/pix-art/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>'.format(url_for('index'), _('search page'))) }}</p>
+ {% endautoescape %}
</div>
{% endblock %}