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