mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[enh] add official site link to the top of the infobox - closes #1644
This commit is contained in:
parent
6c06286251
commit
29960aa1d9
2 changed files with 7 additions and 4 deletions
|
|
@ -2,6 +2,7 @@
|
|||
<div class="panel panel-default infobox">
|
||||
<div class="panel-heading">{{- "" -}}
|
||||
<h4 class="panel-title infobox_part"><bdi>{{ infobox.infobox }}</bdi></h4>{{- "" -}}
|
||||
{% for u in infobox.urls %}{% if u.official %} <a href="{{ u.url }}">{{ u.domain }}</a>{% endif %}{% endfor %}
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
{% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ image_proxify(infobox.img_src) }}" alt="{{ infobox.infobox }}" />{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue