diff options
Diffstat (limited to 'searx/templates/simple/result_templates/default.html')
-rw-r--r-- | searx/templates/simple/result_templates/default.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/searx/templates/simple/result_templates/default.html b/searx/templates/simple/result_templates/default.html new file mode 100644 index 000000000..b29ca550f --- /dev/null +++ b/searx/templates/simple/result_templates/default.html @@ -0,0 +1,17 @@ +{% from 'simple/macros.html' import result_header, result_sub_header, result_sub_footer, result_footer, result_footer_rtl %} + +{{ 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 %} +<p class="content"> + {%- if result.content %}{{ result.content|safe }}{% endif -%} +</p> +{{- result_sub_footer(result, proxify) -}} +{% if result.embedded -%} +<div id="result-media-{{ index }}" class="invisible"> + {{- result.embedded|safe -}} +</div> +{%- endif %} +{{- result_footer(result) }} |