Merge branch 'main' into pr/fix-redirection

This commit is contained in:
Emruz Hossain 2021-04-01 23:56:26 +06:00 committed by GitHub
commit d347567e9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@
{{ range sort $sections "section.weight" }}
{{ if and (.section.enable) (.section.showOnNavbar)}}
{{ $sectionCount = add $sectionCount 1}}
{{ if lt $sectionCount 5 }}
{{ if le $sectionCount 5 }}
<li class="nav-item">
<a class="nav-link" href="#{{ partial "helpers/get-section-id.html" . }}">{{ .section.name }}</a>
</li>