logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: 032f9bb1c9f8b9b949cd294b47cc63bae5c89ef2
parent 85dcfa2c7d66dbfde1c0aa349f01020b02195676
Author: Cqoicebordel <Cqoicebordel@users.noreply.github.com>
Date:   Wed, 21 Jan 2015 18:03:11 +0100

Revert some wrong merge to allow torrents links to be visible

Diffstat:

Msearx/templates/oscar/macros.html2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html @@ -18,6 +18,8 @@ {% macro result_sub_header(result) -%} {% if result.publishedDate %}<time class="text-muted" datetime="{{ result.pubdate }}" >{{ result.publishedDate }}</time>{% endif %} <small><a class="text-info" href="https://web.archive.org/web/{{ result.url }}">{{ icon('link') }} {{ _('cached') }}</a></small> + {% if result.magnetlink %}<small> &bull; <a href="{{ result.magnetlink }}" class="magnetlink">{{ icon('magnet') }} {{ _('magnet link') }}</a></small>{% endif %} + {% if result.torrentfile %}<small> &bull; <a href="{{ result.torrentfile }}" class="torrentfile">{{ icon('download-alt') }} {{ _('torrent file') }}</a></small>{% endif %} {%- endmacro %} <!-- Draw result footer -->