summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2022-01-25 23:01:31 +0100
committerGitHub <noreply@github.com>2022-01-25 23:01:31 +0100
commite5f266065cbb589c8e7a9fba1e9e9078a8e150f1 (patch)
treed37c4547be4e526d7d89bc38cfd96b45f0a56039
parent334a89f39944403993689cdf54a3732d5d4c0ead (diff)
parentdfb9ca527ddc7a0f85f158f056d3464d92509a4b (diff)
downloadsearxng-e5f266065cbb589c8e7a9fba1e9e9078a8e150f1.tar.gz
searxng-e5f266065cbb589c8e7a9fba1e9e9078a8e150f1.zip
Merge pull request #824 from dalf/fix-simple-pref-checker
[fix] simple theme: don't crash when the checker is enabled
-rw-r--r--searx/templates/simple/macros.html2
1 files changed, 2 insertions, 0 deletions
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 }}">