logos that dont have links should not try and be links
This commit is contained in:
parent
38f562c180
commit
fb0da16030
|
@ -44,7 +44,9 @@
|
||||||
Supported by: <br />
|
Supported by: <br />
|
||||||
{% for s in sponsors %}
|
{% for s in sponsors %}
|
||||||
{% thumbnail s.logo "120" crop="center" as thumb %}
|
{% thumbnail s.logo "120" crop="center" as thumb %}
|
||||||
<a href="{{ s.url }}" target="_blank"><img alt="{{ s.name }}" src="{{ thumb.url }}" /></a>
|
{% if s.url %} <a href="{{ s.url }}" target="_blank"> {% endif %}
|
||||||
|
<img alt="{{ s.name }}" src="{{ thumb.url }}" />
|
||||||
|
{% if s.url %} </a> {% endif %}
|
||||||
{% endthumbnail %}
|
{% endthumbnail %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user