mirror of
https://github.com/searxng/searxng.git
synced 2024-11-29 14:11:02 +00:00
f57a9f425d
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
23 lines
971 B
HTML
23 lines
971 B
HTML
{% from 'simple/macros.html' import result_header, result_sub_header, result_sub_footer, result_footer, result_footer_rtl with context %}
|
|
|
|
{{ result_header(result, favicons, image_proxify) -}}
|
|
{{- result_sub_header(result) -}}
|
|
{% if result.embedded -%}
|
|
<p class="altlink"> • <a class="btn-collapse collapsed media-loader disabled_if_nojs" data-target="#result-media-{{ index }}" data-btn-text-collapsed="{{ _('show media') }}" data-btn-text-not-collapsed="{{ _('hide media') }}">{{ icon('music-note') }} {{ _('show media') }}</a></p>
|
|
{%- endif %}
|
|
{%- if result.content %}
|
|
<p class="content">
|
|
{{ result.content|safe }}
|
|
</p>
|
|
{%- else %}
|
|
<p class="content empty_element">
|
|
{{ _('This site did not provide any description.')|safe }}
|
|
</p>
|
|
{% endif -%}
|
|
{{- result_sub_footer(result, proxify) -}}
|
|
{% if result.embedded -%}
|
|
<div id="result-media-{{ index }}" class="invisible">
|
|
{{- result.embedded|safe -}}
|
|
</div>
|
|
{%- endif %}
|
|
{{- result_footer(result) }}
|