832cf37a97
also tried flask's flash feature but flask creates session cookies if it isn't flushed. Avoiding session cookies to preserve privacy
4.4 KiB
4.4 KiB
{% from 'oscar/macros.html' import icon %}
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"{% if rtl %} dir="rtl"{% endif %}>
<head>
{% block meta %}{% endblock %}
{% if cookies['oscar-style'] %}
{% else %}
{% endif %}
{% for css in styles %}
{% endfor %}
{% block styles %}
{% endblock %}
{% block head %}
{% endblock %}
</head>
{% include 'oscar/navbar.html' %}
{% if autocomplete %}{% endif %}
{% for script in scripts %}
{% endfor %}
</html>
{% if errors %}
{{ icon('info-sign') }} {{ _('Error!') }}
{% endif %}
{% block site_alert_error %}
{% endblock %}
{% block site_alert_warning %}
{% endblock %}
{% block site_alert_info %}
{% endblock %}
{% block site_alert_success %}
{% endblock %}
{% block content %}
{% endblock %}
-
{% for message in errors %}
- {{ message }} {% endfor %}
{% block footer %}
{% endblock %}
{{ _('Powered by') }} searx - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}