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

7 lines
208 B
HTML

{{ $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>