mirror of
https://github.com/TeamPiped/hugo-whisper-theme.git
synced 2024-08-14 23:57:00 +00:00
12 lines
No EOL
336 B
HTML
12 lines
No EOL
336 B
HTML
<div id="main-menu-mobile" class="main-menu-mobile">
|
|
<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> |