From 916739d6b41957c3f277dea7c1429488560a3784 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 12 May 2024 17:52:52 +0200 Subject: [mod] simple theme: drop img_src from default results The use of img_src AND thumbnail in the default results makes no sense (only a thumbnail is needed). In the current state this is rather confusing, because img_src is displayed like a thumbnail (small) and thumbnail is displayed like an image (large). Signed-off-by: Markus Heiser --- searx/templates/simple/macros.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'searx/templates/simple') diff --git a/searx/templates/simple/macros.html b/searx/templates/simple/macros.html index 23aaa4f87..9ec6fb47c 100644 --- a/searx/templates/simple/macros.html +++ b/searx/templates/simple/macros.html @@ -25,8 +25,7 @@ {{- part -}} {%- endfor %} {{- result_close_link() -}} - {%- if result.img_src %}{{ result_open_link(result.url) }}{{ result_close_link() }}{% endif -%} - {%- if result.thumbnail %}{{ result_open_link(result.url) }}{{ result_close_link() }}{% endif -%} + {%- if result.thumbnail %}{{ result_open_link(result.url) }}{{ result_close_link() }}{% endif -%}

{{ result_link(result.url, result.title|safe) }}

{%- endmacro -%} -- cgit v1.2.3-54-g00ecf