summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/info.html
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/oscar/info.html')
-rw-r--r--searx/templates/oscar/info.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/templates/oscar/info.html b/searx/templates/oscar/info.html
index 3a696da50..0c2044adb 100644
--- a/searx/templates/oscar/info.html
+++ b/searx/templates/oscar/info.html
@@ -2,9 +2,9 @@
{% block title %}{{ active_page.title }} - {% endblock %}
{% block content %}
<ul class="nav nav-tabs">
-{% for pagename, page in all_pages('en') %}
- <li {% if pagename == active_pagename %}class="active"{% endif %}>
- <a href="{{pagename}}">{{page.title}}</a>
+ {% for pagename, page, locale in all_pages %}
+ <li>
+ <a href="{{ url_for('info', pagename=pagename, locale=locale) }}" {% if pagename == active_pagename %}class="active"{% endif %}>{{page.title}}</a>
</li>
{% endfor %}
</ul>