{% from 'simple/macros.html' import result_header, result_sub_header, result_sub_footer, result_footer, result_link with context %} {{ result_header(result, favicons, image_proxify) -}} {{- result_sub_header(result) -}} {% if result.magnetlink %}
• {{ result_link(result.magnetlink, icon_big('magnet-outline') + _('magnet link'), "magnetlink") }}
{% endif %} {% if result.torrentfile %}• {{ result_link(result.torrentfile, icon_big('download-alt') + _('torrent file'), "torrentfile") }}
{% endif %} {% if result.seed is defined %}• {{ icon_big('arrow-swap') }} {{ _('Seeder') }} {{ result.seed }} • {{ _('Leecher') }} {{ result.leech }}
{% endif %} {%- if result.filesize %}{{ icon_big('floppy-disk') }} {{ _('Filesize') }}{{ result.filesize }}
{%- endif -%} {%- if result.files %}{{ icon_big('file') }} {{ _('Number of Files') }} {{ result.files }}
{% endif -%} {%- if result.content %}{{ result.content|safe }}
{% endif -%} {{- result_sub_footer(result, proxify) -}} {{- result_footer(result) }}