diff options
| author | Noémi Ványi <kvch@users.noreply.github.com> | 2020-10-28 22:36:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-28 22:36:29 +0100 |
| commit | 10ddd421f22c993a8cd3f4a02798dc3335c59709 (patch) | |
| tree | 18acb415e3394a91e01ccbae1d757504792729b9 /searx/templates | |
| parent | d3d50eff665f03c16adcb26a774b25b4fd5ade08 (diff) | |
| parent | 95bd6033fad53b584ae5be54f2229a6edfb5b6a2 (diff) | |
Merge pull request #2224 from dalf/update-infobox-engines
[enh] update infobox engines
Diffstat (limited to 'searx/templates')
| -rw-r--r-- | searx/templates/oscar/infobox.html | 6 | ||||
| -rw-r--r-- | searx/templates/simple/infobox.html | 1 |
2 files changed, 1 insertions, 6 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 -%} diff --git a/searx/templates/simple/infobox.html b/searx/templates/simple/infobox.html index 50b568919..08daa5038 100644 --- a/searx/templates/simple/infobox.html +++ b/searx/templates/simple/infobox.html @@ -1,7 +1,6 @@ <aside class="infobox"> <h2><bdi>{{ infobox.infobox }}</bdi></h2> {% if infobox.img_src %}<img src="{{ image_proxify(infobox.img_src) }}" title="{{ infobox.infobox|striptags }}" alt="{{ infobox.infobox|striptags }}" />{% endif %} - <p><bdi>{{ infobox.entity }}</bdi></p> <p><bdi>{{ infobox.content | safe }}</bdi></p> {% if infobox.attributes %} <div class="attributes"> |