silverstripe-webpack/app/templates/Includes/Navigation.ss

22 lines
558 B
Scheme
Raw Normal View History

<nav id="{$NavID}" class="navbar navbar-expand-lg">
2018-05-28 14:42:05 +02:00
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#{$NavID}Content"
aria-controls="{$NavID}Content"
aria-expanded="false"
aria-label="Toggle navigation"
>
<i class="navbar-toggler-icon fa fas fa-bars"></i>
</button>
2018-05-28 14:42:05 +02:00
<div id="{$NavID}Content" class="collapse navbar-collapse">
2021-04-09 09:14:23 +02:00
<div class="navbar-nav">
2018-05-28 14:42:05 +02:00
<% loop $Navigation %>
<% include NavItem %>
<% end_loop %>
2021-04-09 09:14:23 +02:00
</div>
2018-05-28 14:42:05 +02:00
</div>
</nav>