Files
yetano-webui-template/templates/layout/sidebar.html.tmpl
T
terminar d722592379 Initial extraction of shared webui layout (base/navbar/sidebar/footer)
Pilot module for the shared design used by yasta, yasl, yaiam, yakwui,
and yamase-web: server-rendered Bootstrap dashboard chrome, imported as
a Go module instead of copy-pasted per project.
2026-08-29 00:19:06 +02:00

7 lines
203 B
Cheetah

{{define "sidebar"}}
<div class="nav flex-column pt-2">
{{range .NavItems}}<a class="nav-link{{if eq $.ActiveNav .ID}} active{{end}}" href="{{$.BasePath}}{{.Href}}">{{.Label}}</a>
{{end}}
</div>
{{end}}