diff options
-rw-r--r-- | searx/templates/oscar/macros.html | 1 | ||||
-rw-r--r-- | searx/templates/simple/macros.html | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html index 0e9dc227a..fbf181518 100644 --- a/searx/templates/oscar/macros.html +++ b/searx/templates/oscar/macros.html @@ -22,6 +22,7 @@ {%- if result.publishedDate %}<time class="text-muted" datetime="{{ result.pubdate }}" >{{ result.publishedDate }}</time>{% endif -%} {%- if result.magnetlink %}<small> • {{ result_link(result.magnetlink, icon('magnet') + _('magnet link'), "magnetlink", id) }}</small>{% endif -%} {%- if result.torrentfile %}<small> • {{ result_link(result.torrentfile, icon('download-alt') + _('torrent file'), "torrentfile", id) }}</small>{% endif -%} + {%- if result.metadata %} <div class="highlight">{{ result.metadata|safe }}</div>{% endif -%} {%- endmacro %} <!-- Draw result footer --> diff --git a/searx/templates/simple/macros.html b/searx/templates/simple/macros.html index 8b6851e0e..7d456b350 100644 --- a/searx/templates/simple/macros.html +++ b/searx/templates/simple/macros.html @@ -35,6 +35,7 @@ <!-- Draw result sub header --> {%- macro result_sub_header(result) -%} {% if result.publishedDate %}<time class="published_date" datetime="{{ result.pubdate }}" >{{ result.publishedDate }}</time>{% endif %} + {%- if result.metadata %} <div class="highlight">{{ result.metadata|safe }}</div>{% endif -%} {%- endmacro -%} <!-- Draw result sub footer --> |