From ca593728af10751fb0a313e2219e9091434d1035 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Mon, 26 Oct 2020 19:25:28 +0100 Subject: [mod] duckduckgo_definitions: display only user friendly attributes / URL various bug fixes --- searx/templates/oscar/infobox.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'searx/templates') 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 -%} {{ attribute.image.alt }} {%- else -%} - {% if attribute.label == 'Instance of' %} - {{ attribute.value.id }} - {% else %} - {{ attribute.value }} - {%- endif -%} + {{ attribute.value }} {%- endif -%} {% endfor -%} -- cgit v1.2.3