forked from zaclys/searxng
Add title and alt on image in infobox
This commit is contained in:
parent
5104552937
commit
8fb6ea1bf1
|
@ -1,6 +1,6 @@
|
||||||
<div class="infobox">
|
<div class="infobox">
|
||||||
<h2>{{ infobox.infobox }}</h2>
|
<h2>{{ infobox.infobox }}</h2>
|
||||||
{% if infobox.img_src %}<img src="{{ infobox.img_src }}" />{% endif %}
|
{% if infobox.img_src %}<img src="{{ infobox.img_src }}" title="{{ infobox.infobox|striptags }}" alt="{{ infobox.infobox|striptags }}" />{% endif %}
|
||||||
<p>{{ infobox.entity }}</p>
|
<p>{{ infobox.entity }}</p>
|
||||||
<p>{{ infobox.content | safe }}</p>
|
<p>{{ infobox.content | safe }}</p>
|
||||||
{% if infobox.attributes %}
|
{% if infobox.attributes %}
|
||||||
|
@ -42,3 +42,4 @@
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
name=
|
||||||
|
|
Loading…
Reference in New Issue