diff --git a/searx/templates/simple/categories.html b/searx/templates/simple/categories.html index 71fdca90a..29616f127 100644 --- a/searx/templates/simple/categories.html +++ b/searx/templates/simple/categories.html @@ -10,7 +10,7 @@ 'science': 'school-outline', 'files': 'file-tray-full-outline', 'social media': 'people-outline', -} -%} +} -%}
{{- '' -}}
{%- for category in categories -%} diff --git a/searx/templates/simple/icons.html b/searx/templates/simple/icons.html index ffd5041ca..3093e3e29 100644 --- a/searx/templates/simple/icons.html +++ b/searx/templates/simple/icons.html @@ -20,13 +20,13 @@ 'file-tray-full-outline':'', 'people-outline':'', -} +} -%} - + {% macro icon(action, alt) -%} {{ icons[action] | replace("ionicon", "ion-icon") | safe }} {%- endmacro %} - + {% macro icon_small(action) -%} {{ icons[action] | replace("ionicon", "ion-icon-small") | safe }} {%- endmacro %}