blob: 7ea303cff69e51033db2fc52c41fc0c8e457842f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
<div id="main-menu" class="main-menu">
<ul>
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
<li class="menu-item-{{ .Name | lower }}{{ if $currentPage.IsMenuCurrent "main" . }} active{{ end }}">
<a href="{{ .URL }}">
<span>{{ .Name }}</span>
</a>
</li>
{{end}}
</ul>
</div>
|