mirror of https://github.com/searx/searx
[mod] Makefile: make CONTACT_URL optional
This commit is contained in:
parent
19fce74443
commit
14c7cc0e11
2
Makefile
2
Makefile
|
@ -6,7 +6,7 @@ export GIT_URL=https://github.com/searx/searx
|
||||||
export GIT_BRANCH=master
|
export GIT_BRANCH=master
|
||||||
export SEARX_URL=https://searx.me
|
export SEARX_URL=https://searx.me
|
||||||
export DOCS_URL=https://searx.github.io/searx
|
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
|
# END Makefile setup
|
||||||
|
|
||||||
include utils/makefile.include
|
include utils/makefile.include
|
||||||
|
|
|
@ -88,8 +88,8 @@
|
||||||
{{ _('Powered by') }} <a href="{{ brand.DOCS_URL }}">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
|
{{ _('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.GIT_URL }}">{{ _('Source code') }}</a> |
|
||||||
<a href="{{ brand.ISSUE_URL }}">{{ _('Issue tracker') }}</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>{% if brand.CONTACT_URL %} |
|
||||||
<a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a>
|
<a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a>{% endif %}
|
||||||
</small>
|
</small>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -54,8 +54,8 @@
|
||||||
{{ _('Powered by') }} <a href="{{ url_for('about') }}">searx</a> - {{ searx_version }} — {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
|
{{ _('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.GIT_URL }}">{{ _('Source code') }}</a> |
|
||||||
<a href="{{ brand.ISSUE_URL }}">{{ _('Issue tracker') }}</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>{% if brand.CONTACT_URL %} |
|
||||||
<a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a>
|
<a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a>{% endif %}
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
<!--[if gte IE 9]>-->
|
<!--[if gte IE 9]>-->
|
||||||
|
|
Loading…
Reference in New Issue