Add privacypolicy_url option

This commit is contained in:
samsaptidev 2022-06-15 22:06:52 +02:00
parent 36184b2f29
commit 31005595c9
No known key found for this signature in database
GPG key ID: CBBBE7371E81C4EA
7 changed files with 18 additions and 2 deletions

View file

@ -55,8 +55,13 @@
<a href="{{ searx_git_url }}">{{ _('Source code') }}</a> |
<a href="{{ get_setting('brand.issue_url') }}">{{ _('Issue tracker') }}</a> |
<a href="{{ url_for('stats') }}">{{ _('Engine stats') }}</a> |
<a href="{{ get_setting('brand.public_instances') }}">{{ _('Public instances') }}</a>{% if get_setting('general.contact_url') %} |
<a href="{{ get_setting('general.contact_url') }}">{{ _('Contact instance maintainer') }}</a>{% endif %}
<a href="{{ get_setting('brand.public_instances') }}">{{ _('Public instances') }}</a>
{% if get_setting('general.privacypolicy_url') %}
| <a href="{{ get_setting('general.privacypolicy_url') }}">{{ _('Privacy policy') }}</a>
{% endif %}
{% if get_setting('general.contact_url') %}
| <a href="{{ get_setting('general.contact_url') }}">{{ _('Contact instance maintainer') }}</a>
{% endif %}
</p>
</footer>
<!--[if gte IE 9]>-->