diff options
author | Alexandre Flament <alex@al-f.net> | 2021-04-19 09:35:12 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-04-19 09:35:12 +0200 |
commit | 48720e20a8acc07d8614bfbf503c254acd604836 (patch) | |
tree | 23b141503745e4582243648842e45e4e36079edc /searx/templates | |
parent | 01cefffbf6efa8a027e0e7d720970fffadb6337a (diff) | |
parent | 8362257b9ad446fff270559fd15eb20e6a7b45b3 (diff) | |
download | searxng-48720e20a8acc07d8614bfbf503c254acd604836.tar.gz searxng-48720e20a8acc07d8614bfbf503c254acd604836.zip |
Merge remote-tracking branch 'searx/master'
Diffstat (limited to 'searx/templates')
-rw-r--r-- | searx/templates/oscar/result_templates/default.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/result_templates/default.html b/searx/templates/oscar/result_templates/default.html index d743f928e..53cfee5cb 100644 --- a/searx/templates/oscar/result_templates/default.html +++ b/searx/templates/oscar/result_templates/default.html @@ -13,10 +13,10 @@ </div> {%- endif -%} -{%- if result.img_src -%} +{%- if result.img_src or result.thumbnail -%} <div class="container-fluid">{{- "" -}} <div class="row">{{- "" -}} - <img src="{{ image_proxify(result.img_src) }}" title="{{ result.title|striptags }}" style="width: auto; max-height: 60px; min-height: 60px;" class="col-xs-2 col-sm-4 col-md-4 result-content"> + <img src="{{ image_proxify(result.img_src or result.thumbnail) }}" title="{{ result.title|striptags }}" style="width: auto; max-height: 60px; min-height: 60px;" class="col-xs-2 col-sm-4 col-md-4 result-content"> {%- if result.content %}<p class="result-content col-xs-8 col-sm-8 col-md-8">{{ result.content|safe }}</p>{% endif -%} </div>{{- "" -}} </div> |