mirror of
https://github.com/searxng/searxng.git
synced 2024-11-27 05:11:03 +00:00
Add title and alt on image in infobox
This commit is contained in:
parent
5104552937
commit
8fb6ea1bf1
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue