diff --git a/layouts/partials/navigators/navbar.html b/layouts/partials/navigators/navbar.html index 63aec5b..00db04a 100644 --- a/layouts/partials/navigators/navbar.html +++ b/layouts/partials/navigators/navbar.html @@ -59,14 +59,14 @@ {{ range sort $sections "section.weight" }} {{ if and (.section.enable) (.section.showOnNavbar)}} {{ $sectionCount = add $sectionCount 1}} - {{ if lt $sectionCount 5 }} + {{ if le $sectionCount 5 }} {{ end }} {{ end }} {{- end }} - {{ if gt $sectionCount 4 }} + {{ if gt $sectionCount 5 }}