{% set logo = theme_var('custom_logo') %} {% if style %} {% set style='style="' ~ style ~ '"' %} {% else %} {% set style='' %} {% endif %} {% if logo %} {% set logo_file = (logo|first).name %} <img {{ style }} alt="The logo of the webpage" src="{{ url('theme://images/logo/' ~ logo_file) }}" /> {% else %} <img {{ style }} alt="The logo of the webpage" src="{{ url('theme://images/logo.svg') }}" /> {% endif %}