on master help sign in
[mod] Makefile: make CONTACT_URL optional
commit14c7cc0e118f1d0873b32b34793cdec2c5c9c13e authorAlexandre Flament <alex@al-f.net> dateFri 18 Dec 2020, 09:54 (6 years ago) parent19fce74
3 files changed+5−5
Makefile+1−1 searx/templates/oscar/base.html+2−2 searx/templates/simple/base.html+2−2
Makefile+1−1
@@ -6,7 +6,7 @@ export GIT_URL=https://github.com/searx/searx
66export GIT_BRANCH=master
77export SEARX_URL=https://searx.me
88export DOCS_URL=https://searx.github.io/searx
9−export CONTACT_URL=mailto:contact@example.com
9+# export CONTACT_URL=mailto:contact@example.com
1010# END Makefile setup
1111
1212include utils/makefile.include
searx/templates/oscar/base.html+2−2
@@ -88,8 +88,8 @@
8888 {{ _('Powered by') }} <a href="{{ brand.DOCS_URL }}">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
8989 <a href="{{ brand.GIT_URL }}">{{ _('Source code') }}</a> |
9090 <a href="{{ brand.ISSUE_URL }}">{{ _('Issue tracker') }}</a> |
91− <a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a> |
92− <a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a>
91+ <a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a>{% if brand.CONTACT_URL %} |
92+ <a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a>{% endif %}
9393 </small>
9494 </p>
9595 </div>
searx/templates/simple/base.html+2−2
@@ -54,8 +54,8 @@
5454 {{ _('Powered by') }} <a href="{{ url_for('about') }}">searx</a> - {{ searx_version }} — {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
5555 <a href="{{ brand.GIT_URL }}">{{ _('Source code') }}</a> |
5656 <a href="{{ brand.ISSUE_URL }}">{{ _('Issue tracker') }}</a> |
57− <a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a> |
58− <a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a>
57+ <a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a>{% if brand.CONTACT_URL %} |
58+ <a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a>{% endif %}
5959 </p>
6060 </footer>
6161 <!--[if gte IE 9]>-->