diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less index 17d6dd845..5e015579c 100644 --- a/searx/static/themes/simple/src/less/style.less +++ b/searx/static/themes/simple/src/less/style.less @@ -325,6 +325,10 @@ article[data-vim-selected].category-social { background: inherit; } +.empty_element { + font-style: italic; +} + .result-images { display: inline-block; margin: 0; diff --git a/searx/templates/simple/result_templates/default.html b/searx/templates/simple/result_templates/default.html index 7c26f0654..7c74a06d0 100644 --- a/searx/templates/simple/result_templates/default.html +++ b/searx/templates/simple/result_templates/default.html @@ -5,9 +5,15 @@ {% if result.embedded -%}
• {{ icon('music-note') }} {{ _('show media') }}
{%- endif %} -- {%- if result.content %}{{ result.content|safe }}{%- else %}{{ _('This site did not provide any description.')|safe }}{% endif -%} -
+{%- if result.content %} ++ {{ result.content|safe }} +
+{%- else %} ++ {{ _('This site did not provide any description.')|safe }} +
+{% endif -%} {{- result_sub_footer(result, proxify) -}} {% if result.embedded -%}• {{ icon('film-outline') }} {{ _('show video') }}
{%- endif %} -- {%- if result.content %}{{ result.content|safe }}{%- else %}{{ _('This site did not provide any description.')|safe }}{% endif -%} +{%- if result.content %} +
+ {{ result.content|safe }} +
+{%- else %} ++ {{ _('This site did not provide any description.')|safe }} +
+{% endif -%} {{- result_sub_footer(result, proxify) -}} {% if result.embedded -%}