
{% if trust_logos is not empty %}

    {% if banner_mode is not empty %}
        <div class="trustLogoBanner {% if mobile_only is not empty %}mobileOnly{% endif %}">

            <div class="wrapper">

                <div class="innerTrustBanner">
    {% endif %}

                    <ul class="trustLogos">

                        {% for logo in trust_logos %}


                            {% if logo.active is not empty and logo.img_path is not empty and logo.url is not empty %}

                                {% set logo_visible = true %}
                                
                                {% if logo.hide_on_footer is not empty and is_footer is not empty %}
                                    {% set logo_visible = false %}
                                {% endif %}
                                
                                {% if logo_visible is not empty %}
                                    <li>
                                        <a
                                                href="{{ logo.url }}"
                                                title="{{ logo.title }}"
                                                class="{{ logo.link_class }}"
                                                target="_blank"
                                        >
                                            <img
                                                    src="{{ logo.img_path }}"
                                                    class="{{ logo.img_class }}"
                                                    alt="{{ logo.title }}"
                                                    loading="lazy"
                                                    width="100"
                                                    height="100"
                                            />
                                        </a>
                                    </li>
                                {% endif %}

                            {% endif %}

                        {% endfor %}

                    </ul>


    {% if banner_mode is not empty %}
                </div> <!-- .innerTrustBanner -->
            </div> <!-- .wrapper -->
        </div> <!-- .trustLogoBanner -->
    {% endif %}

{% endif %}
