Hide the menu button on mobile if the menu is empty
This commit is contained in:
parent
30d5681909
commit
cb61741202
@ -3,7 +3,9 @@
|
|||||||
<div class="header__logo">
|
<div class="header__logo">
|
||||||
{{ partial "logo.html" . }}
|
{{ partial "logo.html" . }}
|
||||||
</div>
|
</div>
|
||||||
<div class="menu-trigger">menu</div>
|
{{ if len $.Site.Menus }}
|
||||||
|
<div class="menu-trigger">menu</div>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ if len $.Site.Menus }}
|
{{ if len $.Site.Menus }}
|
||||||
{{ partial "menu.html" . }}
|
{{ partial "menu.html" . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user