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 />
|
||||
{% for s in sponsors %}
|
||||
{% 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 %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user