Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] simple theme: don't crash when the checker is enabled

Alexandre Flamentdfb9ca527ddc
diff --git a/searx/templates/simple/macros.html b/searx/templates/simple/macros.html
index c1c421ab1..6c64c23ea 100644
--- a/searx/templates/simple/macros.html
+++ b/searx/templates/simple/macros.html
@@ -1,3 +1,5 @@
+{% from 'simple/icons.html' import icon_small %}
+
<!-- Draw favicon -->
{% macro draw_favicon(favicon) -%}
<img width="14" height="14" class="favicon" src="{{ url_for('static', filename='themes/simple/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}">