hugo-whisper-theme/layouts/partials/main-menu-mobile.html

12 lines
336 B
HTML
Raw Permalink Normal View History

2019-02-17 06:55:16 +00:00
<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 }}">
2019-02-17 06:55:16 +00:00
<span>{{ .Name }}</span>
</a>
</li>
{{end}}
</ul>
</div>