dropdown available only when sections exceed above 7
This commit is contained in:
parent
a0976fffac
commit
429ceee574
1 changed files with 2 additions and 1 deletions
|
@ -68,11 +68,12 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{ if gt (len $sections) 7}}
|
||||||
<li class="nav-item dropdown">
|
<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">
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
More
|
More
|
||||||
</a>
|
</a>
|
||||||
|
{{ end }}
|
||||||
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
|
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
|
||||||
<a class="dropdown-item" href="#achievements">Achievements</a>
|
<a class="dropdown-item" href="#achievements">Achievements</a>
|
||||||
<a class="dropdown-item" href="#recent-posts">Recent Posts</a>
|
<a class="dropdown-item" href="#recent-posts">Recent Posts</a>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue