vendor/score/cms/src/Resources/views/Public/idsk/_mainMenu.html.twig line 1

Open in your IDE?
  1. <nav class="idsk-header-web__nav-bar--buttons">
  2.     <ul class="idsk-header-web__nav-list "  role="navigation" aria-label="Hlavná navigácia">
  3.         {% for item in cms_menu_tree('root') %}
  4.             {% if item.children is defined %}
  5.                 {{ include('@ScoreCms/Public/idsk/_menuItemFolded.html.twig',{'items': item}) }}
  6.             {% else %}
  7.                 <li class="idsk-header-web__nav-list-item {{ app.request.requesturi | trim('/') starts with item.node.publicLink | trim('/') ? "idsk-header-extended__navigation-item--active" }}">
  8.                     {% if 'page' == item.node.linkType %}
  9.                     <a class="govuk-link idsk-header-web__nav-list-item-link" href="{{ item.node.publicLink is same as "homepage" ?  "/" : path('default_subpage',{'seoid':item.node.publicLink}) }}" title="{{ item.node.name }}">
  10.                     {% else %}
  11.                     <a class="govuk-link idsk-header-web__nav-list-item-link" href="{{ item.node.publicLink }}" title=" {{ item.node.name }}">
  12.                         {% endif %}
  13.                         {{ item.node.name }}
  14.                     </a>
  15.                 </li>
  16.             {% endif %}
  17.         {% endfor %}{# empty Twig template #}
  18.     </ul>
  19. </nav>