{% set logo = 'logo' %}

{% if logo_white is not empty %}
    {% set logo = 'logo-white' %}
{% endif %}


<a href="/" class="logo jsThemeToggle">

    <{% if svg_logo is not empty %}div{% else %}picture{% endif %} class="imageWrap">

        {% if svg_logo is not empty %}

            {{ file_get_contents(settings.SITE_PATH ~ settings.THEME_URL ~ '/images/' ~ logo ~ '.svg')|raw }}

        {% else %}

            {#
            {% if mini_logo is empty %}
                <source srcset="{{ settings.SITE_URL }}{{ settings.THEME_URL }}/images/{{ logo }}-mobile.png" media="(max-width: 400px)">
            {% endif %}
            #}

            <img
                    src="{{ settings.SITE_URL }}{{ settings.THEME_URL }}/images/{{ logo }}.png"
                    alt="{{ config('app.name') }}"
                    width="251"
                    height="49"
            >

        {% endif %}

    </{% if svg_logo is not empty %}div{% else %}picture{% endif %}> <!-- .imageWrap -->

</a> <!-- .logo -->
