summaryrefslogtreecommitdiff
path: root/searx/templates/oscar
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2020-06-09 00:31:52 +0200
committerAdam Tauber <asciimoo@gmail.com>2020-06-09 00:31:52 +0200
commitf0819e8826b2e8c694172296292a30198e3e60c1 (patch)
tree7fde72af304c7c7bb53da7d557fdcde47ad51f7f /searx/templates/oscar
parentc6ca468df2cf0813619eb67912d3b34ac8fdfac6 (diff)
downloadsearxng-f0819e8826b2e8c694172296292a30198e3e60c1.tar.gz
searxng-f0819e8826b2e8c694172296292a30198e3e60c1.zip
[enh] add engine names to results as classes - closes #670
Diffstat (limited to 'searx/templates/oscar')
-rw-r--r--searx/templates/oscar/results.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html
index 43e3e26d9..9ce324490 100644
--- a/searx/templates/oscar/results.html
+++ b/searx/templates/oscar/results.html
@@ -100,7 +100,7 @@
{%- endif %}
{% for result in results -%}
- <div class="result {% if result['template'] %}result-{{ result.template|replace('.html', '') }}{% else %}result-default{% endif %}">
+ <div class="result {% if result['template'] %}result-{{ result.template|replace('.html', '') }}{% else %}result-default{% endif %}{% for e in result.engines %} {{ e }}{% endfor %}">
{%- set index = loop.index -%}
{%- if result.template -%}
{% include get_result_template('oscar', result['template']) %}