vendor/nellapp/sdk-bundle/src/Resources/views/Partials/favicon.html.twig line 1

Open in your IDE?
  1. {# for white-label domain the channel logo is used instead #}
  2. {% set favicon_channel = get_channel_from_domain() %}
  3. {% set channel_favicon = favicon_channel is not null ? get_channel_favicon(favicon_channel) : null %}
  4. {% if channel_favicon is not null %}
  5.     <link rel="icon" type="image/png" href="{{ channel_favicon }}"/>
  6. {% else %}
  7.     <link rel="shortcut icon" href="{{ default_favicon ?? asset('images/favicon.png', 'core') }}"/>
  8. {% endif %}