mirror of
https://github.com/Vimux/Binario.git
synced 2024-12-22 04:29:05 +00:00
Remove main menu item sort
This commit is contained in:
parent
7bffa43920
commit
f469db6c8f
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
</button>
|
||||
<ul id="menu" class="main-nav__list">
|
||||
{{- $currentNode := . }}
|
||||
{{- range sort .Site.Menus.main }}
|
||||
{{- range .Site.Menus.main }}
|
||||
{{- $current := (or ($currentNode.IsMenuCurrent "main" .) ($currentNode.HasMenuCurrent "main" .)) }}
|
||||
{{- if .Name }}
|
||||
<li class="main-nav__item{{ if $current }} main-nav__item--active{{ end }}">
|
||||
|
|
Loading…
Reference in a new issue