forked from Ponysearch/Ponysearch
Merge pull request #1409 from Xavierhorwood/public_instances2
Public instances can be set to hidden
This commit is contained in:
commit
7a9beb4fa4
3 changed files with 6 additions and 3 deletions
|
@ -164,3 +164,4 @@ features or generally made searx better:
|
||||||
- @OliveiraHermogenes
|
- @OliveiraHermogenes
|
||||||
- Paul Alcock @Guilvareux
|
- Paul Alcock @Guilvareux
|
||||||
- Sam A. `<https://samsapti.dev>`_
|
- Sam A. `<https://samsapti.dev>`_
|
||||||
|
- @XavierHorwood
|
||||||
|
|
|
@ -149,7 +149,7 @@ SCHEMA = {
|
||||||
'issue_url': SettingsValue(str, 'https://github.com/searxng/searxng/issues'),
|
'issue_url': SettingsValue(str, 'https://github.com/searxng/searxng/issues'),
|
||||||
'new_issue_url': SettingsValue(str, 'https://github.com/searxng/searxng/issues/new'),
|
'new_issue_url': SettingsValue(str, 'https://github.com/searxng/searxng/issues/new'),
|
||||||
'docs_url': SettingsValue(str, 'https://docs.searxng.org'),
|
'docs_url': SettingsValue(str, 'https://docs.searxng.org'),
|
||||||
'public_instances': SettingsValue(str, 'https://searx.space'),
|
'public_instances': SettingsValue((False, str), 'https://searx.space'),
|
||||||
'wiki_url': SettingsValue(str, 'https://github.com/searxng/searxng/wiki'),
|
'wiki_url': SettingsValue(str, 'https://github.com/searxng/searxng/wiki'),
|
||||||
},
|
},
|
||||||
'search': {
|
'search': {
|
||||||
|
|
|
@ -64,8 +64,10 @@
|
||||||
{{ _('Powered by') }} <a href="{{ url_for('info', pagename='about') }}">searxng</a> - {{ searx_version }} — {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
|
{{ _('Powered by') }} <a href="{{ url_for('info', pagename='about') }}">searxng</a> - {{ searx_version }} — {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
|
||||||
<a href="{{ searx_git_url }}">{{ _('Source code') }}</a> |
|
<a href="{{ searx_git_url }}">{{ _('Source code') }}</a> |
|
||||||
<a href="{{ get_setting('brand.issue_url') }}">{{ _('Issue tracker') }}</a> |
|
<a href="{{ get_setting('brand.issue_url') }}">{{ _('Issue tracker') }}</a> |
|
||||||
<a href="{{ url_for('stats') }}">{{ _('Engine stats') }}</a> |
|
<a href="{{ url_for('stats') }}">{{ _('Engine stats') }}</a>
|
||||||
<a href="{{ get_setting('brand.public_instances') }}">{{ _('Public instances') }}</a>
|
{% if get_setting('brand.public_instances') %}
|
||||||
|
| <a href="{{ get_setting('brand.public_instances') }}">{{ _('Public instances') }}</a>
|
||||||
|
{% endif %}
|
||||||
{% if get_setting('general.privacypolicy_url') %}
|
{% if get_setting('general.privacypolicy_url') %}
|
||||||
| <a href="{{ get_setting('general.privacypolicy_url') }}">{{ _('Privacy policy') }}</a>
|
| <a href="{{ get_setting('general.privacypolicy_url') }}">{{ _('Privacy policy') }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue