|
@@ -18,6 +18,8 @@
|
18
|
18
|
{% macro result_sub_header(result) -%}
|
19
|
19
|
{% if result.publishedDate %}<time class="text-muted" datetime="{{ result.pubdate }}" >{{ result.publishedDate }}</time>{% endif %}
|
20
|
20
|
<small><a class="text-info" href="https://web.archive.org/web/{{ result.url }}">{{ icon('link') }} {{ _('cached') }}</a></small>
|
|
21
|
+ {% if result.magnetlink %}<small> • <a href="{{ result.magnetlink }}" class="magnetlink">{{ icon('magnet') }} {{ _('magnet link') }}</a></small>{% endif %}
|
|
22
|
+ {% if result.torrentfile %}<small> • <a href="{{ result.torrentfile }}" class="torrentfile">{{ icon('download-alt') }} {{ _('torrent file') }}</a></small>{% endif %}
|
21
|
23
|
{%- endmacro %}
|
22
|
24
|
|
23
|
25
|
<!-- Draw result footer -->
|