diff options
author | Alexandre Flament <alex@al-f.net> | 2020-10-26 19:25:28 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2020-10-28 08:09:25 +0100 |
commit | ca593728af10751fb0a313e2219e9091434d1035 (patch) | |
tree | 32d50695201e2b787e3987b9727983fdcff82295 /searx/templates/oscar/infobox.html | |
parent | 382fded6651c16754d91411f806e8fe390f005e5 (diff) | |
download | searxng-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.html | 6 |
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 -%} |