diff --git a/layouts/partials/navigators/navbar.html b/layouts/partials/navigators/navbar.html index 994cfd3..b9c7c20 100644 --- a/layouts/partials/navigators/navbar.html +++ b/layouts/partials/navigators/navbar.html @@ -56,16 +56,29 @@ {{ if $sections }} {{ range sort $sections "section.weight" }} - {{ if and (.section.enable) (.section.showOnNavbar)}} - {{ $sectionID := replace (lower .section.name) " " "-" }} - {{ if .section.id }} - {{ $sectionID = .section.id }} - {{ end }} - + {{ if and (.section.enable) (.section.showOnNavbar) }} + {{ $sectionID := replace (lower .section.name) " " "-" }} + {{ if .section.id }} + {{ $sectionID = .section.id }} + {{ end }} + {{ if lt .section.weight 7 }} + + {{ end }} {{ end }} {{- end }} + + + {{- end }} {{ $hasCustomMenus:= false }} {{ if $customMenus }}