templates: Try to bugfix rendering sponsors without logos.
This commit is contained in:
		
							parent
							
								
									6be746c882
								
							
						
					
					
						commit
						bf2f226b8d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -21,7 +21,7 @@ Supporter of our work year-round!</p> | ||||||
| 
 | 
 | ||||||
|           {% for sponsor in level.sponsors %} |           {% for sponsor in level.sponsors %} | ||||||
|               <div> |               <div> | ||||||
|                   {% if sponsor.website_logo %} |                   {% if sponsor.sponsor_logo %} | ||||||
|                       <a href="{{ sponsor.external_url }}"> |                       <a href="{{ sponsor.external_url }}"> | ||||||
|                           <img src="{% thumbnail sponsor.website_logo '600x360' %}" alt="{{ sponsor.name }}"> |                           <img src="{% thumbnail sponsor.website_logo '600x360' %}" alt="{{ sponsor.name }}"> | ||||||
|                       </a> |                       </a> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Brett Smith
						Brett Smith