{% if not (('homepage.partner.title' | trans) starts with '//') %}
<section class="homepage partners">
<div class="container">
<h1>{{ 'homepage.partner.title' | trans }}</h1>
<div class="imgs">
{% for p in partners %}
{% set img = 'bundles/static/uploads/homepage/partners/' ~ p.img %}
{% if p.url %}
<a href="{{ p.url }}"><img alt="{{ p.alt }}" src="{{asset(img)}}"/></a>
{% else %}
<img alt="{{ p.alt }}" src="{{asset(img)}}"/>
{% endif %}
{% endfor %}
<div class="more">{{ 'homepage.partner.more'|trans }}</div>
</div>
</div>
</section>
{% endif %}