diff options
author | Alexandre Flament <alex@al-f.net> | 2020-12-18 09:54:03 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2020-12-18 09:54:03 +0100 |
commit | 14c7cc0e118f1d0873b32b34793cdec2c5c9c13e (patch) | |
tree | 23a54235fa22e61c3b3350a4af042f925f71c83b | |
parent | 19fce74443b7183917ef67bfebf36432e0d1e1e8 (diff) | |
download | searxng-14c7cc0e118f1d0873b32b34793cdec2c5c9c13e.tar.gz searxng-14c7cc0e118f1d0873b32b34793cdec2c5c9c13e.zip |
[mod] Makefile: make CONTACT_URL optional
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | searx/templates/oscar/base.html | 4 | ||||
-rw-r--r-- | searx/templates/simple/base.html | 4 |
3 files changed, 5 insertions, 5 deletions
@@ -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 c8f390d3a..2205eb952 100644 --- a/searx/templates/oscar/base.html +++ b/searx/templates/oscar/base.html @@ -88,8 +88,8 @@ {{ _('Powered by') }} <a href="{{ brand.DOCS_URL }}">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}<br/> <a href="{{ brand.GIT_URL }}">{{ _('Source code') }}</a> | <a href="{{ brand.ISSUE_URL }}">{{ _('Issue tracker') }}</a> | - <a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a> | - <a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a> + <a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a>{% if brand.CONTACT_URL %} | + <a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a>{% endif %} </small> </p> </div> diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html index 2318f6bfc..a7255e672 100644 --- a/searx/templates/simple/base.html +++ b/searx/templates/simple/base.html @@ -54,8 +54,8 @@ {{ _('Powered by') }} <a href="{{ url_for('about') }}">searx</a> - {{ searx_version }} — {{ _('a privacy-respecting, hackable metasearch engine') }}<br/> <a href="{{ brand.GIT_URL }}">{{ _('Source code') }}</a> | <a href="{{ brand.ISSUE_URL }}">{{ _('Issue tracker') }}</a> | - <a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a> | - <a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a> + <a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a>{% if brand.CONTACT_URL %} | + <a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a>{% endif %} </p> </footer> <!--[if gte IE 9]>--> |