dropdown available only when sections exceed above 7

This commit is contained in:
HenzelMoras 2021-03-25 20:32:14 +05:30
parent a0976fffac
commit 429ceee574

View file

@ -68,11 +68,12 @@
{{ end }}
{{ end }}
{{- end }}
{{ if gt (len $sections) 7}}
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
More
</a>
{{ end }}
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#achievements">Achievements</a>
<a class="dropdown-item" href="#recent-posts">Recent Posts</a>