<section class="content-block container {{ styleModifier | default(null) }} {{ anchorNavItem | default(null) ? 'js-anchor-nav__item' : '' }}"
{% if not pimcore_input('anchorTitle').empty %}data-anchor-nav-title="{{ pimcore_input('anchorTitle').frontend }}"{% endif %}>
{% embed 'Includes/editmode-settings.html.twig' %}
{% block additionalInfo %}
{% endblock %}
{% endembed %}
{{ include('Includes/title-block-editable.html.twig', {
styleModifier: 'js-fade-in',
isCentered: true
}) }}
<ul class="list-unstyled row justify-content-center vertical-gutter--3">
{% for i in pimcore_iterate_block(pimcore_block('logoBlock')) %}
<li class="col-md-auto col-12 vertical-gutter__item text-center">
{% if editmode %}
{{ pimcore_image('logo', {
thumbnail: "logo-area",
imgAttributes: {
class: 'js-lazy-img img-fluid'
},
lowQualityPlaceholder: true,
}) }}
{{ pimcore_link('logo-link') }}
{% elseif not pimcore_image('logo').empty %}
{% if not pimcore_link('logo-link').href is empty %}
<a href="{{ pimcore_link('logo-link').href }}" {% if not pimcore_link('logo-link').target is empty %}target="{{ pimcore_link('logo-link').target }}"{% endif %}>
{% endif %}
{% set description = getImageDescription(pimcore_image('logo').image, true) %}
{{ pimcore_image('logo').image.thumbnail('logo-area').html({
imgAttributes: {
class: 'js-lazy-img img-fluid',
title: description|default(''),
alt: description|default(''),
},
lowQualityPlaceholder: false
})|raw }}
{% if not pimcore_link('logo-link').href is empty %}
</a>
{% endif %}
{% endif %}
</li>
{% endfor %}
</ul>
</section>