[wip] add Contact
[~bandali/bndl.org] / layouts / partials / nav.html
CommitLineData
ae39b0da
AB
1<nav>
2 {{ $currentPage := . }}
3 {{ range .Site.Menus.topnav }}
4 <a class="{{ if $currentPage.IsMenuCurrent "topnav" . }}active{{ end }}" href="{{substr .URL 0 -1}}">
5 {{ .Pre }}
6 <span>{{ .Title }}</span>
7 </a>
8 <span class="bar">|</span>
9 {{ end }}
10 <label for="light-off" class="light-off-button"></label>
11</nav>