2026-08-29 00:19:06 +02:00
|
|
|
{{define "sidebar"}}
|
2026-11-28 12:23:20 +01:00
|
|
|
{{if .NavItems}}<div class="nav flex-column pt-2">
|
2026-11-28 11:11:28 +01:00
|
|
|
{{range .SidebarEntries}}{{if .GroupHead}}<div class="yw-nav-group">{{.GroupHead}}</div>
|
|
|
|
|
{{end}}<a class="nav-link{{if .Active}} active{{end}}" href="{{$.BasePath}}{{.Href}}"{{if .Active}} aria-current="page"{{end}}>{{if .IconSVG}}<span class="yw-nav-icon" aria-hidden="true">{{.IconSVG}}</span>{{end}}{{.Label}}</a>
|
2026-08-29 00:19:06 +02:00
|
|
|
{{end}}
|
2026-11-28 12:23:20 +01:00
|
|
|
</div>{{end}}
|
2026-08-29 00:19:06 +02:00
|
|
|
{{end}}
|