{% if sections is defined and sections is not empty and sections is iterable %} <div class="col-12 col-lg-4 pb-4 pb-lg-0"> {% for section in sections %} {% if loop.first %} <p class="fw-bold border-bottom pb-2 mb-2">{{ section.title }}</p> {% else %} <p class="fw-bold border-bottom pb-2 mb-2 mt-3">{{ section.title }}</p> {% endif %} {% if section.links is defined and section.links is not empty and section.links is iterable %} {% set attributes = { 'class': [ 'text-decoration-none', 'd-block', 'mb-1' ] } %} {% for link in section.links %} {{ pattern('link', { label: link.label, path: link.path|render, icon: link.icon, icon_position: link.icon_position, attributes: attributes }) }} {% endfor %} {% endif %} {% endfor %} </div> {% endif %}