Check `public_instance` in simple theme

Fix #2975
This commit is contained in:
sev 2023-10-29 23:01:09 -05:00 committed by MatthieuBarbu
parent 47d5b2f332
commit d9585cebdd
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
{% else %} {% else %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/searxng.min.css') }}" type="text/css" media="screen" /> <link rel="stylesheet" href="{{ url_for('static', filename='css/searxng.min.css') }}" type="text/css" media="screen" />
{% endif %} {% endif %}
{% if get_setting('server.limiter') %} {% if get_setting('server.limiter') or get_setting('server.public_instance') %}
<link rel="stylesheet" href="{{ url_for('client_token', token=link_token) }}" type="text/css" /> <link rel="stylesheet" href="{{ url_for('client_token', token=link_token) }}" type="text/css" />
{% endif %} {% endif %}
{% block styles %}{% endblock %} {% block styles %}{% endblock %}