templates/Global/navigation.html.twig line 1

Open in your IDE?
  1. {#<header class="page-header">
  2.     <h2>{{ pageTitle }}</h2>
  3.     <div class="right-wrapper text-end">
  4.         <ol class="breadcrumbs">
  5.             <li>
  6.                 <a href="#">
  7.                     <i class="bx bx-home-alt"></i>
  8.                 </a>
  9.             </li>
  10.             {% for li in navigation %}
  11.                 {% for routename, pagetitle in li %}
  12.                     {% if routename != "current" %}
  13.                         {% if '/' in routename %}
  14.                             {% set href = routename %}
  15.                         {% else %}
  16.                             {% set href = path(routename) %}
  17.                         {% endif %}
  18.                         <li><a href="{{ href }}"> {{ pagetitle }}</a></li>
  19.                         {% else %}
  20.                         <li class="active"><span>{{ pagetitle }}</span></li>
  21.                             {% endif %}
  22.                         {% endfor %}
  23.                     {% endfor %}
  24.         </ol>
  25.         <a class="sidebar-right-toggle" data-open="sidebar-right"><i class="fas fa-chevron-left"></i></a>
  26.     </div>
  27. </header>#}
  28. <header class="page-header page-header-left-breadcrumb">
  29.     <div class="right-wrapper">
  30.         <ol class="breadcrumbs">
  31.             <li>
  32.                 <a href="index.html">
  33.                     <i class="bx bx-home-alt"></i>
  34.                 </a>
  35.             </li>
  36.           {% for li in navigation %}
  37.                 {% for routename, pagetitle in li %}
  38.                     {% if routename != "current" %}
  39.                         {% if '/' in routename %}
  40.                             {% set href = routename %}
  41.                         {% else %}
  42.                             {% set href = path(routename) %}
  43.                         {% endif %}
  44.                         <li><a href="{{ href }}"> {{ pagetitle }}</a></li>
  45.                         {% else %}
  46.                         <li class="active"><span>{{ pagetitle }}</span></li>
  47.                             {% endif %}
  48.                         {% endfor %}
  49.                     {% endfor %}
  50.         </ol>
  51.         <a class="sidebar-right-toggle" data-open="sidebar-right"><i class="fas fa-chevron-left"></i></a>
  52.     </div>
  53.     <h2 class="font-weight-semibold">{{ pageTitle }}</h2>
  54. </header>