<div id="partners"> <p>Partners:</p> {% if PARTNERS %} <ul> {% for link, alt, image, width in PARTNERS %} <li><a href="{{ link }}" title="{{ alt }}" target="_new"><img src="{{ image }}" alt="{{ alt }}" width="{{ width }}" /></a></li> {% endfor %} </ul> {% endif %} </div>