From 61ee370e1861819fb4ffe1e73b2389332df07cec Mon Sep 17 00:00:00 2001
From: Xavier horwood <39760456+Xavierhorwood@users.noreply.github.com>
Date: Sun, 3 Jul 2022 00:56:28 +1000
Subject: [mod] link to public-instances can be set to hidden
Some administrators may want to hide the link to public_instances: If you run a
private instance for a company that wants there employees to use the private
instance instead of any of the public instances.
---
searx/templates/simple/base.html | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'searx/templates/simple/base.html')
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html
index b9867c42f..d1d3d8fe5 100644
--- a/searx/templates/simple/base.html
+++ b/searx/templates/simple/base.html
@@ -64,8 +64,10 @@
{{ _('Powered by') }} searxng - {{ searx_version }} — {{ _('a privacy-respecting, hackable metasearch engine') }}
{{ _('Source code') }} |
{{ _('Issue tracker') }} |
- {{ _('Engine stats') }} |
- {{ _('Public instances') }}
+ {{ _('Engine stats') }}
+ {% if get_setting('brand.public_instances') %}
+ | {{ _('Public instances') }}
+ {% endif %}
{% if get_setting('general.privacypolicy_url') %}
| {{ _('Privacy policy') }}
{% endif %}
--
cgit v1.2.3