From f3aff26086dda1c2610c9aa845db119ad413006f Mon Sep 17 00:00:00 2001 From: mrpaulblack Date: Sun, 21 Nov 2021 21:38:00 +0100 Subject: =?UTF-8?q?[simple=20theme]=20rework=20select;=20add=20safesearch?= =?UTF-8?q?=20to=20search=20and=20replace=20/=20with=20=E2=80=BA=20in=20ar?= =?UTF-8?q?ticle=20url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * rework selection UI in pref (fix based on: https://github.com/twelsby/searx/commit/78643e9f43a103c523f112e9f3ce26a5c7bb3a0f) * moved search filters underneath categories * cut params from url and replace / with › * make h3 and url in article bigger * add safe search select to search filter (this will not override settings and only be valid while on result page in a session) * make search form button not overlap each other when js is disabled * 1rem padding around preview image and thumbnail in default article template --- searx/templates/simple/macros.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'searx/templates/simple/macros.html') diff --git a/searx/templates/simple/macros.html b/searx/templates/simple/macros.html index 26aa71891..7a3a4ff9f 100644 --- a/searx/templates/simple/macros.html +++ b/searx/templates/simple/macros.html @@ -18,7 +18,11 @@ {% macro result_header(result, favicons, image_proxify) -%}
-

{{ result_link(result.url, result.pretty_url, 'url') }}

+ {{- result_open_link(result.url, "url_wrapper") -}} + {%- for part in get_pretty_url(result.parsed_url) -%} + {{- part -}} + {%- endfor %} + {{- result_close_link() -}} {%- if result.img_src %}{{ result_open_link(result.url) }}{{ result.title|striptags }}{{ result_close_link() }}{% endif -%} {%- if result.thumbnail %}{{ result_open_link(result.url) }}{{ result.title|striptags }}{{ result_close_link() }}{% endif -%}

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

-- cgit v1.2.3