2021-11-22 17:28:03 +01:00
|
|
|
<ul class="navmenu">
|
2019-10-10 19:30:34 +02:00
|
|
|
{{ $currentPage := . }}
|
|
|
|
{{ range .Site.Menus.main }}
|
2021-11-22 17:28:03 +01:00
|
|
|
<li class="{{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}active{{ end }}">
|
2019-10-10 19:30:34 +02:00
|
|
|
<a href="{{ .URL }}">
|
|
|
|
{{ .Pre }}
|
|
|
|
<span>{{ .Name }}</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|