summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-03-16 22:24:35 +0100
committerAlexandre Flament <alex@al-f.net>2022-03-16 22:26:36 +0100
commitdbe3eaabc929fb1a9d2da8e69ab6e70ba5bcf172 (patch)
treecf8364b986480f2b1a625abe48a7c641778ede6f /searx/templates
parentbb19c7eccf9b24927930fb364c1dc84df6a1475f (diff)
downloadsearxng-dbe3eaabc929fb1a9d2da8e69ab6e70ba5bcf172.tar.gz
searxng-dbe3eaabc929fb1a9d2da8e69ab6e70ba5bcf172.zip
Info: code refactoring & bug fixes
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/oscar/info.html2
-rw-r--r--searx/templates/simple/info.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/info.html b/searx/templates/oscar/info.html
index 0c2044adb..c12446a08 100644
--- a/searx/templates/oscar/info.html
+++ b/searx/templates/oscar/info.html
@@ -2,7 +2,7 @@
{% block title %}{{ active_page.title }} - {% endblock %}
{% block content %}
<ul class="nav nav-tabs">
- {% for pagename, page, locale in all_pages %}
+ {% for pagename, locale, page in all_pages %}
<li>
<a href="{{ url_for('info', pagename=pagename, locale=locale) }}" {% if pagename == active_pagename %}class="active"{% endif %}>{{page.title}}</a>
</li>
diff --git a/searx/templates/simple/info.html b/searx/templates/simple/info.html
index 5030cd490..b94ad0037 100644
--- a/searx/templates/simple/info.html
+++ b/searx/templates/simple/info.html
@@ -2,7 +2,7 @@
{% block title %}{{ active_page.title }} - {% endblock %}
{% block content %}
<ul class="tabs">
-{% for pagename, page, locale in all_pages %}
+{% for pagename, locale, page in all_pages %}
<li>
<a href="{{ url_for('info', pagename=pagename, locale=locale) }}" {% if pagename == active_pagename %}class="active"{% endif %}>{{page.title}}</a>
</li>