1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-05 04:40:11 +01:00

[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>
This commit is contained in:
Adam Tauber 2021-05-30 19:20:46 +02:00 committed by Markus Heiser
parent e0af67f0af
commit e33858d6ef
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
{% from 'oscar/macros.html' import result_footer, result_footer_rtl with context %} {% 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"> <table class="table table-responsive table-bordered table-condensed">
{% for key, value in result.items() %} {% 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 %} {% continue %}
{% endif %} {% endif %}
<tr> <tr>

View File

@ -1,6 +1,6 @@
<table> <table>
{% for key, value in result.items() %} {% 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 %} {% continue %}
{% endif %} {% endif %}
<tr> <tr>