logo.html.twig 337 B

123456789
  1. {% set logo = theme_var(mobile ? 'custom_logo_mobile' : 'custom_logo') %}
  2. <a href="{{ home_url }}" class="navbar-brand mr-10">
  3. {% if logo %}
  4. {% set logo_file = (logo|first).name %}
  5. <img src="{{ url('theme://images/logo/' ~ logo_file) }}" alt="{{ site.title }}" />
  6. {% else %}
  7. {% include('@images/grav-logo.svg') %}
  8. {% endif %}
  9. </a>