2021-06-19 21:30:03 +02:00
|
|
|
<% if $Submenu %>
|
|
|
|
<nav>
|
|
|
|
<ul class="nav flex-column">
|
2024-07-19 12:41:13 +02:00
|
|
|
<% if $TopLevelSubmenu %>
|
|
|
|
<% with $Page.Level(1) %>
|
|
|
|
<li class="nav-item-level1 nav-item {$CSSClass} $ExtraClass">
|
|
|
|
<b class="nav-link">
|
|
|
|
$MenuTitle.XML
|
|
|
|
<% if $isCurrent || $isSection %><i class="visually-hidden">(current)</i><% end_if %>
|
|
|
|
</b>
|
|
|
|
</li>
|
|
|
|
<% end_with %>
|
|
|
|
<% else %>
|
|
|
|
<% with $Page %>
|
|
|
|
<li class="nav-item-level1 nav-item {$CSSClass} $ExtraClass">
|
|
|
|
<b class="nav-link">
|
|
|
|
$MenuTitle.XML
|
|
|
|
<% if $isCurrent || $isSection %><i class="visually-hidden">(current)</i><% end_if %>
|
|
|
|
</b>
|
|
|
|
</li>
|
|
|
|
<% end_with %>
|
|
|
|
<% end_if %>
|
2021-06-19 21:30:03 +02:00
|
|
|
|
|
|
|
<% loop $Submenu %>
|
|
|
|
<% include NavItem %>
|
|
|
|
<% end_loop %>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<% end_if %>
|