themes/BootstrapTheme/templates/bundles/SyliusShopBundle/Layout/Header/_logo.html.twig line 1

Open in your IDE?
  1. {% set block = app_get_blocks('slogan_site', sylius.channel.code )  %}
  2. <div class="col-xs-4 left-logo  pi-no-padding">
  3.     <div class="logo">
  4.         <a href="{{ path('sylius_shop_homepage') }}" title="{{ sylius.channel.name }}">
  5.         <img class="" src="{{ asset('bootstrap-theme/images/sylius-logo.svg', 'bootstrapTheme') }}" alt="{{ sylius.channel.name }}" />
  6.         {% if 'sylius_shop_homepage' in app.request.attributes.get('_route') %}
  7.             <h1>
  8.                 <strong class="slogan-site"> {% if block.content is defined %}
  9.                         {{ block.content|raw }}
  10.                     {% endif %}
  11.                 </strong>
  12.             </h1>
  13.             {% else %}
  14.             <strong class="slogan-site">
  15.                 {% if block.content is defined %}
  16.                     {{ block.content|raw }}
  17.                 {% endif %}
  18.             </strong>
  19.             {% endif %}
  20.         </a>
  21.     </div>
  22. </div>