From 14c7cc0e118f1d0873b32b34793cdec2c5c9c13e Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Fri, 18 Dec 2020 09:54:03 +0100 Subject: [PATCH] [mod] Makefile: make CONTACT_URL optional --- Makefile | 2 +- searx/templates/oscar/base.html | 4 ++-- searx/templates/simple/base.html | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 8a4a38e1..ff3bc225 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ export GIT_URL=https://github.com/searx/searx export GIT_BRANCH=master export SEARX_URL=https://searx.me export DOCS_URL=https://searx.github.io/searx -export CONTACT_URL=mailto:contact@example.com +# export CONTACT_URL=mailto:contact@example.com # END Makefile setup include utils/makefile.include diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html index c8f390d3..2205eb95 100644 --- a/searx/templates/oscar/base.html +++ b/searx/templates/oscar/base.html @@ -88,8 +88,8 @@ {{ _('Powered by') }} searx - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}
{{ _('Source code') }} | {{ _('Issue tracker') }} | - {{ _('Public instances') }} | - {{ _('Contact instance maintainer') }} + {{ _('Public instances') }}{% if brand.CONTACT_URL %} | + {{ _('Contact instance maintainer') }}{% endif %}

diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html index 2318f6bf..a7255e67 100644 --- a/searx/templates/simple/base.html +++ b/searx/templates/simple/base.html @@ -54,8 +54,8 @@ {{ _('Powered by') }} searx - {{ searx_version }} — {{ _('a privacy-respecting, hackable metasearch engine') }}
{{ _('Source code') }} | {{ _('Issue tracker') }} | - {{ _('Public instances') }} | - {{ _('Contact instance maintainer') }} + {{ _('Public instances') }}{% if brand.CONTACT_URL %} | + {{ _('Contact instance maintainer') }}{% endif %}