mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2024-12-26 06:55:52 -05:00
Hide the menu toggle if the menu is empty
This commit is contained in:
parent
f385c2d6ce
commit
bd3ef6a953
@ -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