mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2025-02-18 05:19:48 +03:00
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
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,9 @@
|
|||
<div class="header__logo">
|
||||
{{ partial "logo.html" . }}
|
||||
</div>
|
||||
<div class="menu-trigger">menu</div>
|
||||
{{ if len $.Site.Menus }}
|
||||
<div class="menu-trigger">menu</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ if len $.Site.Menus }}
|
||||
{{ partial "menu.html" . }}
|
||||
|
|
Loading…
Add table
Reference in a new issue