diff options
author | BBaoVanC <github@bbaovanc.com> | 2020-12-18 02:53:28 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-18 09:53:28 +0100 |
commit | 19fce74443b7183917ef67bfebf36432e0d1e1e8 (patch) | |
tree | 78d4e8f1e9b59e4ebe42c8f4316fd33d8a859907 /searx | |
parent | 5c6a5407a0b124c3323e73c33b81ec1fbd7d2fce (diff) | |
download | searxng-19fce74443b7183917ef67bfebf36432e0d1e1e8.tar.gz searxng-19fce74443b7183917ef67bfebf36432e0d1e1e8.zip |
Add link to contact instance maintainer to footer of each page (#2391)
Diffstat (limited to 'searx')
-rw-r--r-- | searx/brand.py | 1 | ||||
-rw-r--r-- | searx/templates/oscar/base.html | 3 | ||||
-rw-r--r-- | searx/templates/simple/base.html | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/searx/brand.py b/searx/brand.py index d71c57db7..0eaaf0be3 100644 --- a/searx/brand.py +++ b/searx/brand.py @@ -4,3 +4,4 @@ ISSUE_URL = 'https://github.com/searx/searx/issues' SEARX_URL = 'https://searx.me' DOCS_URL = 'https://searx.github.io/searx' PUBLIC_INSTANCES = 'https://searx.space' +CONTACT_URL = 'mailto:contact@example.com' diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html index 7b3d33f7a..c8f390d3a 100644 --- a/searx/templates/oscar/base.html +++ b/searx/templates/oscar/base.html @@ -88,7 +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.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a> | + <a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a> </small> </p> </div> diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html index 10fb424bf..2318f6bfc 100644 --- a/searx/templates/simple/base.html +++ b/searx/templates/simple/base.html @@ -54,7 +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.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a> | + <a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a> </p> </footer> <!--[if gte IE 9]>--> |