{% set logo = theme_var('custom_logo_mobile') ?: theme_var('custom_logo') %}
  {% if logo %}
    {% set logo_file = (logo|first).name %}
    <img src="{{ url('theme://images/logo/' ~ logo_file) }}" alt="{{ site.title|raw }}" class="{{ logo_class }}"/>
  {% else %}
    {% include('@images/grav-logo.svg') %}
  {% endif %}