noah.is/themes/noah/layouts/partials/navbar.html

7 lines
208 B
HTML
Raw Normal View History

2023-09-14 00:35:55 +00:00
{{ $Root := . }}
<div class="navbar-end">
{{ range .Site.Menus.main }}
<a class="navbar-item is-tab{{if eq .Name $Root.Title}} is-active{{end}}" href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
</div>