diff options
Diffstat (limited to 'searx/templates/oscar/infobox.html')
-rw-r--r-- | searx/templates/oscar/infobox.html | 6 |
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 -%} |