templates: Try to bugfix rendering sponsors without logos.

This commit is contained in:
Brett Smith 2020-01-23 11:34:30 -05:00
parent 6be746c882
commit bf2f226b8d

View file

@ -21,7 +21,7 @@ Supporter of our work year-round!</p>
{% for sponsor in level.sponsors %}
<div>
{% if sponsor.website_logo %}
{% if sponsor.sponsor_logo %}
<a href="{{ sponsor.external_url }}">
<img src="{% thumbnail sponsor.website_logo '600x360' %}" alt="{{ sponsor.name }}">
</a>