diff options
author | Adam Tauber <asciimoo@gmail.com> | 2020-06-09 00:31:52 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2020-06-09 00:31:52 +0200 |
commit | f0819e8826b2e8c694172296292a30198e3e60c1 (patch) | |
tree | 7fde72af304c7c7bb53da7d557fdcde47ad51f7f /searx/templates/oscar/results.html | |
parent | c6ca468df2cf0813619eb67912d3b34ac8fdfac6 (diff) | |
download | searxng-f0819e8826b2e8c694172296292a30198e3e60c1.tar.gz searxng-f0819e8826b2e8c694172296292a30198e3e60c1.zip |
[enh] add engine names to results as classes - closes #670
Diffstat (limited to 'searx/templates/oscar/results.html')
-rw-r--r-- | searx/templates/oscar/results.html | 2 |
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']) %} |