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.
7 lines
203 B
Cheetah
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}}
|