summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2021-05-30 19:20:46 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-06-01 10:53:37 +0200
commite33858d6ef81d6b48f1e0fbd56252383ed6e032e (patch)
tree80fd174780b7cd758e75fbcff01574180e876ccd /searx/templates
parente0af67f0afbef6887a9dfb0546cd150b9f9f0c1a (diff)
downloadsearxng-e33858d6ef81d6b48f1e0fbd56252383ed6e032e.tar.gz
searxng-e33858d6ef81d6b48f1e0fbd56252383ed6e032e.zip
[fix] correct kv template formatting and remove internal data
Slightly modified merge of commit [ea7ccf24] from searx. [ea7ccf24] https://github.com/searx/searx/commit/ea7ccf24 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/oscar/result_templates/key-value.html4
-rw-r--r--searx/templates/simple/result_templates/key-value.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/searx/templates/oscar/result_templates/key-value.html b/searx/templates/oscar/result_templates/key-value.html
index d5c56a189..9d75682d4 100644
--- a/searx/templates/oscar/result_templates/key-value.html
+++ b/searx/templates/oscar/result_templates/key-value.html
@@ -1,8 +1,8 @@
{% from 'oscar/macros.html' import result_footer, result_footer_rtl with context %}
-<div class="panel panel-default">
+<div class="result result-default">
<table class="table table-responsive table-bordered table-condensed">
{% for key, value in result.items() %}
- {% if key in ['engine', 'engines', 'template', 'score', 'category', 'positions'] %}
+ {% if key in ['engine', 'engines', 'template', 'score', 'category', 'positions', 'pretty_url', 'parsed_url'] %}
{% continue %}
{% endif %}
<tr>
diff --git a/searx/templates/simple/result_templates/key-value.html b/searx/templates/simple/result_templates/key-value.html
index eebaa2c85..cb7f829ee 100644
--- a/searx/templates/simple/result_templates/key-value.html
+++ b/searx/templates/simple/result_templates/key-value.html
@@ -1,6 +1,6 @@
<table>
{% for key, value in result.items() %}
- {% if key in ['engine', 'engines', 'template', 'score', 'category', 'positions'] %}
+ {% if key in ['engine', 'engines', 'template', 'score', 'category', 'positions', 'pretty_url', 'parsed_url'] %}
{% continue %}
{% endif %}
<tr>