diff options
| author | Alexandre Flament <alex@al-f.net> | 2022-04-09 15:24:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-09 15:24:11 +0200 |
| commit | e7644271531a7ea4d784bbb586f9e2725c546fd4 (patch) | |
| tree | 7545f79fc62e013a98e79a037225a25a694f9fb0 /searx/templates | |
| parent | 921528123263e03002682399df055f50aa891b82 (diff) | |
| parent | 5e7f46991104a6583676c6c9319a81b6f9a4b151 (diff) | |
Merge branch 'master' into switch-md-parser
Diffstat (limited to 'searx/templates')
| -rw-r--r-- | searx/templates/oscar/macros.html | 2 | ||||
| -rw-r--r-- | searx/templates/simple/result_templates/images.html | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html index ed1499c15..2b27cfd28 100644 --- a/searx/templates/oscar/macros.html +++ b/searx/templates/oscar/macros.html @@ -5,7 +5,7 @@ <!-- Draw favicon --> {% macro draw_favicon(favicon) -%} - <img width="32" height="32" class="favicon" src="{{ url_for('static', filename='img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" /> + <img width="32" height="32" class="favicon" src="{{ url_for('static', filename='themes/oscar/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" /> {%- endmacro %} {%- macro result_link(url, title, classes='', id='') -%} 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>{{- "" -}} |