mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 20:17:45 +01:00
Proxify images inside infoboxes
This commit is contained in:
parent
b6d27aca59
commit
9154cf7930
@ -1,6 +1,6 @@
|
||||
<div class="infobox">
|
||||
<h2>{{ infobox.infobox }}</h2>
|
||||
{% if infobox.img_src %}<img src="{{ infobox.img_src }}" title="{{ infobox.infobox|striptags }}" alt="{{ infobox.infobox|striptags }}" />{% endif %}
|
||||
{% if infobox.img_src %}<img src="{{ image_proxify(infobox.img_src) }}" title="{{ infobox.infobox|striptags }}" alt="{{ infobox.infobox|striptags }}" />{% endif %}
|
||||
<p>{{ infobox.entity }}</p>
|
||||
<p>{{ infobox.content | safe }}</p>
|
||||
{% if infobox.attributes %}
|
||||
|
@ -3,7 +3,7 @@
|
||||
<h4 class="panel-title">{{ infobox.infobox }}</h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
{% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ infobox.img_src }}" alt="{{ infobox.infobox }}" />{% endif %}
|
||||
{% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ image_proxify(infobox.img_src) }}" alt="{{ infobox.infobox }}" />{% endif %}
|
||||
{% if infobox.content %}<p class="infobox_part">{{ infobox.content }}</p>{% endif %}
|
||||
|
||||
{% if infobox.attributes %}
|
||||
|
Loading…
Reference in New Issue
Block a user