add my current and previous Hackage accounts
[~bandali/bndl.org] / layouts / partials / nav.html
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>