app/template/default/Block/Sp/Category/lm_breadcrumb.twig line 1

Open in your IDE?
  1. {{ SetBreadCrumb(BreadCrumbs)|raw}}
  2. {#
  3. {% if breadCrumb is defined %}
  4.   <div id="pankuzu">
  5.     <ul itemscope itemtype="http://schema.org/BreadcrumbList" style="margin-bottom: 0px;">
  6.       {% for bread in breadCrumb %}
  7.         {% set href = '' %}
  8.         {% if bread.href is defined %}
  9.           {% set href = php_preg_replace('@([^/]+)$@', '$1/', bread.href) %}
  10.         {% endif %}
  11.         {% if loop.index < (breadCrumb | length) %}
  12.           <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
  13.             <meta itemprop="position" content="{{ loop.index }}" />
  14.             <a href="{{ href }}" itemprop="item"><span itemprop="name">{{ bread.label }}</span></a>&nbsp;&gt;&nbsp;
  15.           </li>
  16.         {% else %}
  17.           <li>
  18.             <strong class="nowpage">{{ bread.label }}</strong>
  19.           </li>
  20.         {% endif %}
  21.       {% endfor %}
  22.     </ul>
  23.   </div>
  24. {% endif %}
  25. #}