2 {{ $currentPage := . }}
3 {{ range .Site.Menus.topnav }}
4 <a class=
"{{ if $currentPage.IsMenuCurrent "topnav
" . }}active{{ end }}" href=
"{{substr .URL 0 -1}}">
6 <span>{{ .Title }}
</span>
8 <span class=
"bar">|
</span>
10 <label for=
"light-off" class=
"light-off-button"></label>