summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-02-05 04:53:21 +0100
committerMartin Fischer <martin@push-f.com>2022-02-05 04:53:21 +0100
commit91527fbd6b4c155d63447dd27fb9f423ff4bfff6 (patch)
treeb46fee4d3d9f5dd00ccbb5121c568901260844f5 /searx/templates
parent14338e2c3b796b9dfb74430751d75067018a70fd (diff)
downloadsearxng-91527fbd6b4c155d63447dd27fb9f423ff4bfff6.tar.gz
searxng-91527fbd6b4c155d63447dd27fb9f423ff4bfff6.zip
[enh] avoid /about redirect in template links
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/oscar/navbar.html2
-rw-r--r--searx/templates/simple/base.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/navbar.html b/searx/templates/oscar/navbar.html
index 0eeb207a0..b1d344c11 100644
--- a/searx/templates/oscar/navbar.html
+++ b/searx/templates/oscar/navbar.html
@@ -3,7 +3,7 @@
<a href="{{ url_for('index') }}">{{ instance_name }}</a>{{- "" -}}
</span>{{- "" -}}
<span class="{% if rtl %}pull-left{% else %}pull-right{% endif %}">{{- "" -}}
- <a href="{{ url_for('about') }}">{{ _('about') }}</a>{{- "" -}}
+ <a href="{{ url_for('help_page', pagename='about') }}">{{ _('about') }}</a>{{- "" -}}
<a href="{{ url_for('preferences') }}">{{ _('preferences') }}</a>{{- "" -}}
</span>{{- "" -}}
</div>
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html
index 33b7a2cbe..ffd648171 100644
--- a/searx/templates/simple/base.html
+++ b/searx/templates/simple/base.html
@@ -58,7 +58,7 @@
</main>
<footer>
<p>
- {{ _('Powered by') }} <a href="{{ url_for('about') }}">searxng</a> - {{ searx_version }} — {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
+ {{ _('Powered by') }} <a href="{{ url_for('help_page', pagename='about') }}">searxng</a> - {{ searx_version }} — {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
<a href="{{ searx_git_url }}">{{ _('Source code') }}</a> |
<a href="{{ get_setting('brand.issue_url') }}">{{ _('Issue tracker') }}</a> |
<a href="{{ url_for('stats') }}">{{ _('Engine stats') }}</a> |