{% if banners %}<div class="row">{% for banner in banners %}<div class="col-sm-{{ (banners|length > 0 ? (12 / banners|length) : 12) }}">{% if banner.link %}<a href="{{ banner.link }}"><img src="{{ banner.image }}" alt="{{ banner.title }}" class="img-responsive img-rounded" /></a>{% else %}<img src="{{ banner.image }}" alt="{{ banner.title }}" class="img-responsive img-rounded" />{% endif %}</div>{% endfor %}</div>{% endif %}