Browse Source

Merge pull request #824 from dalf/fix-simple-pref-checker

[fix] simple theme: don't crash when the checker is enabled
Markus Heiser 3 years ago
parent
commit
e5f266065c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      searx/templates/simple/macros.html

+ 2 - 0
searx/templates/simple/macros.html

@@ -1,3 +1,5 @@
+{% from 'simple/icons.html' import icon_small %}
+
 <!-- Draw favicon -->
 <!-- Draw favicon -->
 {% macro draw_favicon(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 }}">
     <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='themes/simple/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}">