don't make the sidebar depend on the existence of a sponsor logo
This commit is contained in:
		
							parent
							
								
									59cebbb861
								
							
						
					
					
						commit
						077beca34d
					
				
					 1 changed files with 7 additions and 3 deletions
				
			
		|  | @ -13,9 +13,13 @@ | ||||||
| 
 | 
 | ||||||
|             {% for sponsor in level.sponsors %} |             {% for sponsor in level.sponsors %} | ||||||
|                 <div style="margin: 10px 0;"> |                 <div style="margin: 10px 0;"> | ||||||
|                     <a href="{{ sponsor.external_url }}"> |                     {% if sponsor.website_logo %} | ||||||
|                         <img src="{% thumbnail sponsor.website_logo '100x60' %}" alt="{{ sponsor.name }}" /> |                         <a href="{{ sponsor.external_url }}"> | ||||||
|                     </a> |                             <img src="{% thumbnail sponsor.website_logo '100x60' %}" alt="{{ sponsor.name }}" /> | ||||||
|  |                         </a> | ||||||
|  |                     {% else %} | ||||||
|  |                         <a href="{{ sponsor.external_url }}">{{ sponsor.name }}</a> | ||||||
|  |                     {% endif %} | ||||||
|                 </div> |                 </div> | ||||||
|             {% endfor %} |             {% endfor %} | ||||||
|         {% endif %} |         {% endif %} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Joshua Simmons
						Joshua Simmons