mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 18:41:37 +01:00
Merge pull request #31 from danjordan/patch-1
Hide the menu toggle if the menu is empty
This commit is contained in:
commit
ec2b365773
@ -44,7 +44,9 @@
|
||||
{{ else }}
|
||||
<p class="logo"><a href="{{.Site.BaseURL}}">{{ .Site.Title }} </a></p>
|
||||
{{ end }}
|
||||
{{ if (isset .Site.Menus "main") }}
|
||||
<button class="menu-toggle" type="button"></button>
|
||||
{{ end }}
|
||||
</div>
|
||||
</header>
|
||||
<nav class="nav">
|
||||
|
Loading…
Reference in New Issue
Block a user