summaryrefslogtreecommitdiff
path: root/searx/templates/simple/result_templates
diff options
context:
space:
mode:
authormrpaulblack <paul@paulgo.io>2022-04-06 15:07:05 +0200
committermrpaulblack <paul@paulgo.io>2022-04-06 15:07:05 +0200
commit169f8d998889d4f970edc3912481ee5d205a293c (patch)
tree2823e02740fa90b58ebc7fe4d098b595f3dad857 /searx/templates/simple/result_templates
parentfcb626dedd3965de4fa6c95c47a34fdd14348afd (diff)
downloadsearxng-169f8d998889d4f970edc3912481ee5d205a293c.tar.gz
searxng-169f8d998889d4f970edc3912481ee5d205a293c.zip
[simple theme] add netloc to image result articles
Diffstat (limited to 'searx/templates/simple/result_templates')
-rw-r--r--searx/templates/simple/result_templates/images.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/templates/simple/result_templates/images.html b/searx/templates/simple/result_templates/images.html
index e521ee211..902fd8b24 100644
--- a/searx/templates/simple/result_templates/images.html
+++ b/searx/templates/simple/result_templates/images.html
@@ -2,6 +2,7 @@
<a {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %} href="{{ result.img_src }}">{{- "" -}}
<img class="image_thumbnail" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %} src="{% if result.thumbnail_src %}{{ image_proxify(result.thumbnail_src) }}{% else %}{{ image_proxify(result.img_src) }}{% endif %}" alt="{{ result.title|striptags }}" loading="lazy" width="200" height="200">{{- "" -}}
<span class="title">{{ result.title|striptags }}</span>{{- "" -}}
+ <span class="source">{{ result.parsed_url.netloc }}</span>{{- "" -}}
</a>{{- "" -}}
<div class="detail">{{- "" -}}
<a class="result-detail-close" href="#">{{ icon('close') }}</a>{{- "" -}}