Merge pull request #202 from schoentoon/hide-menu-button-mobile
Hide the menu button on mobile if the menu is empty
This commit is contained in:
commit
4d71df019b
@ -3,7 +3,9 @@
|
||||
<div class="header__logo">
|
||||
{{ partial "logo.html" . }}
|
||||
</div>
|
||||
{{ if len $.Site.Menus }}
|
||||
<div class="menu-trigger">menu</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ if len $.Site.Menus }}
|
||||
{{ partial "menu.html" . }}
|
||||
|
Loading…
Reference in New Issue
Block a user