{{- result_open_link(result.url, "url_wrapper") -}}
{% if not rtl %}
{%- if favicon_resolver != "" %}
{%- endif -%}
{%- endif -%}
{%- for part in get_pretty_url(result.parsed_url) -%}
{{- part -}}
{%- endfor %}
{% if rtl %}
{%- if favicon_resolver != "" %}
{%- endif -%}
{%- endif -%}
{{- result_close_link() -}}
{%- if result.thumbnail %}{{ result_open_link(result.url) }} {{ result_close_link() }}{% endif -%}
{{ result_link(result.url, result.title|safe) }}
{%- endmacro -%}
{%- macro result_sub_header(result) -%}
{%- if result.publishedDate %}{{ result.publishedDate }} {% endif -%}
{%- if result.length %}{{ _('Length') }}: {{ result.length }}
{% endif -%}
{%- if result.views %}{{ _('Views') }}: {{ result.views }}
{% endif -%}
{%- if result.author %}{{ _('Author') }}: {{ result.author }}
{% endif -%}
{%- if result.metadata %}{{ result.metadata|safe }}
{% endif -%}
{%- endmacro -%}
{%- macro result_sub_footer(result, proxify) -%}
{% for engine in result.engines %}{{ engine }} {% endfor %}
{{ icon_small('ellipsis-vertical-outline') + result_link(cache_url + result.url, _('cached'), "cache_link") }} {% if proxify and proxify_results %} {{ result_link(proxify(result.url), _('proxied'), "proxyfied_link") }} {% endif %}
{{- '' -}}
{{- '' -}}
{%- endmacro -%}
{%- macro result_footer(result) -%}
{%- endmacro -%}
{%- macro checkbox_onoff(name, checked) -%}