diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2015-01-22 08:46:04 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2015-01-22 08:46:04 +0100 |
| commit | c169fc3aa29936b5289947b5a8b8d8101fb5f106 (patch) | |
| tree | 492d6e7444872b9635ef4a34f04361b7b6584a9a /searx/templates | |
| parent | 10891bdeab9cc1ffb4b490d2d4897aca0f15c921 (diff) | |
| parent | 032f9bb1c9f8b9b949cd294b47cc63bae5c89ef2 (diff) | |
Merge pull request #194 from Cqoicebordel/moar-engines
Moar engines
Diffstat (limited to 'searx/templates')
| -rw-r--r-- | searx/templates/oscar/macros.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html index df604707d..9b253ad93 100644 --- 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> • <a href="{{ result.magnetlink }}" class="magnetlink">{{ icon('magnet') }} {{ _('magnet link') }}</a></small>{% endif %}
+ {% if result.torrentfile %}<small> • <a href="{{ result.torrentfile }}" class="torrentfile">{{ icon('download-alt') }} {{ _('torrent file') }}</a></small>{% endif %}
{%- endmacro %}
<!-- Draw result footer -->
|