rfid/themes/hugo-whisper-theme/layouts/partials/main-menu.html

12 lines
322 B
HTML
Raw Permalink Normal View History

2021-10-01 12:32:43 +00:00
<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>