From f49b2c94a9a9938133dbf94d686f00776ce96cdc Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Wed, 5 Mar 2025 17:50:22 +0100 Subject: [mod] migrate all key-value.html templates to KeyValue type The engines now all use KeyValue results and return the results in a EngineResults object. The sqlite engine can return MainResult results in addition to KeyValue results (based on engine's config in settings.yml), Signed-off-by: Markus Heiser --- searx/templates/simple/result_templates/key-value.html | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 searx/templates/simple/result_templates/key-value.html (limited to 'searx/templates') diff --git a/searx/templates/simple/result_templates/key-value.html b/searx/templates/simple/result_templates/key-value.html deleted file mode 100644 index dcab4377f..000000000 --- a/searx/templates/simple/result_templates/key-value.html +++ /dev/null @@ -1,11 +0,0 @@ - - {% for key, value in result.items() %} - {% if key in ['engine', 'engines', 'template', 'score', 'category', 'positions', 'parsed_url'] %} - {% continue %} - {% endif %} - - - - {% endfor %} -
{{ key|upper }}: {{ value }}
-
{% for engine in result.engines %}{{ engine }}{% endfor %}
{{- '' -}} -- cgit v1.2.3