1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-06 13:20:11 +01:00
searxng/searx/templates/default/result_templates/torrent.html

14 lines
875 B
HTML
Raw Normal View History

<div class="result torrent_result">
2015-01-01 19:52:05 +01:00
{% if "icon_"~result.engine~".ico" in favicons %}
2015-01-09 04:05:39 +01:00
<img width="14" height="14" class="favicon" src="{{ url_for('static', filename='img/icons/icon_'+result.engine+'.ico') }}" alt="{{result.engine}}" />
2015-01-01 19:52:05 +01:00
{% endif %}
<h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
<p class="url">{{ result.pretty_url }}</p>
{% if result.content %}<p class="content">{{ result.content|safe }}</p>{% endif %}
<p>
{% if result.magnetlink %}<a href="{{ result.magnetlink }}" class="magnetlink">{{ _('magnet link') }}</a>{% endif %}
{% if result.torrentfile %}<a href="{{ result.torrentfile }}" class="torrentfile">{{ _('torrent file') }}</a>{% endif %} -
<span class="stats">{{ _('Seeder') }} : {{ result.seed }}, {{ _('Leecher') }} : {{ result.leech }}</span>
</p>
</div>