summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/infobox.html
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2020-06-09 08:28:53 +0000
committerGitHub <noreply@github.com>2020-06-09 08:28:53 +0000
commitd065b9e4fbd4117e6f1cf565db1fbce6a0f89055 (patch)
tree94e982f9b19b07224075d73ced07853eca7e5bc3 /searx/templates/oscar/infobox.html
parent434e452d54eb5ebdb363a05bea161291ad922cc1 (diff)
parent785f0938fdc6c0b587d5f416f005ab5046260ba6 (diff)
Merge branch 'master' into csp-oscar-theme
Diffstat (limited to 'searx/templates/oscar/infobox.html')
-rw-r--r--searx/templates/oscar/infobox.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/searx/templates/oscar/infobox.html b/searx/templates/oscar/infobox.html
index 9802f11e2..de595b922 100644
--- a/searx/templates/oscar/infobox.html
+++ b/searx/templates/oscar/infobox.html
@@ -16,7 +16,11 @@
{%- if attribute.image -%}
<td><img class="img-responsive" src="{{ image_proxify(attribute.image.src) }}" alt="{{ attribute.image.alt }}" /></td>
{%- else -%}
- <td><bdi>{{ attribute.value }}</bdi></td>
+ {% if attribute.label == 'Instance of' %}
+ <td><bdi><a href="https://wikidata.org/wiki/{{ attribute.value.id }}">{{ attribute.value.id }}</a></bdi></td>
+ {% else %}
+ <td><bdi>{{ attribute.value }}</bdi></td>
+ {%- endif -%}
{%- endif -%}
</tr>
{% endfor -%}