summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/infobox.html
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-10-26 19:25:28 +0100
committerAlexandre Flament <alex@al-f.net>2020-10-28 08:09:25 +0100
commitca593728af10751fb0a313e2219e9091434d1035 (patch)
tree32d50695201e2b787e3987b9727983fdcff82295 /searx/templates/oscar/infobox.html
parent382fded6651c16754d91411f806e8fe390f005e5 (diff)
downloadsearxng-ca593728af10751fb0a313e2219e9091434d1035.tar.gz
searxng-ca593728af10751fb0a313e2219e9091434d1035.zip
[mod] duckduckgo_definitions: display only user friendly attributes / URL
various bug fixes
Diffstat (limited to 'searx/templates/oscar/infobox.html')
-rw-r--r--searx/templates/oscar/infobox.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/searx/templates/oscar/infobox.html b/searx/templates/oscar/infobox.html
index 5ba4aa5f0..8a12b8074 100644
--- a/searx/templates/oscar/infobox.html
+++ b/searx/templates/oscar/infobox.html
@@ -25,11 +25,7 @@
{%- if attribute.image -%}
<td><img class="img-responsive" src="{{ image_proxify(attribute.image.src) }}" alt="{{ attribute.image.alt }}" /></td>
{%- else -%}
- {% 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 -%}
+ <td><bdi>{{ attribute.value }}</bdi></td>
{%- endif -%}
</tr>
{% endfor -%}