mirror of
https://github.com/searxng/searxng.git
synced 2025-01-05 07:58:42 +00:00
[chore] cleanup
This commit is contained in:
parent
12c27f416f
commit
8d2c01e4ce
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
<!-- Draw result header -->
|
<!-- Draw result header -->
|
||||||
{% macro result_header(result, favicons, image_proxify) -%}
|
{% macro result_header(result, favicons, image_proxify) -%}
|
||||||
<article class="result {% if result['template'] %}result-{{ result.template|replace('.html', '') }}{% else %}result-default{% endif %} {% if result['category'] %}category-{{ result['category'] }}{% endif %}{% for e in result.engines %} engine-{{ e|replace(' ', '-') }}{% endfor %}">
|
<article class="result {% if result['template'] %}result-{{ result.template|replace('.html', '') }}{% else %}result-default{% endif %} {% if result['category'] %}category-{{ result['category'] }}{% endif %}">
|
||||||
{{- result_open_link(result.url, "url_header") -}}
|
{{- result_open_link(result.url, "url_header") -}}
|
||||||
{%- if favicon_resolver != "" %}
|
{%- if favicon_resolver != "" %}
|
||||||
<div class="favicon"><img loading="lazy" src="{{ favicon_url(result.parsed_url.netloc) }}"></div>
|
<div class="favicon"><img loading="lazy" src="{{ favicon_url(result.parsed_url.netloc) }}"></div>
|
||||||
|
|
Loading…
Reference in a new issue