mirror of https://github.com/jpanther/congo.git
fix: fix hamburger menu
parent
c75289eea7
commit
8355a69cba
|
@ -7,7 +7,7 @@
|
|||
{{/* Hamburger menu */}}
|
||||
{{ if or .Site.Menus.main (.Site.Params.enableSearch | default false) }}
|
||||
<label id="menu-button" for="menu-controller" class="block">
|
||||
{{ partial "header/hamburger/hamburger-content.html" }}
|
||||
{{ partial "header/hamburger/hamburger-content.html" . }}
|
||||
</label>
|
||||
{{ end }}
|
||||
</nav>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{{ if or .Site.Menus.main (.Site.Params.enableSearch | default false) }}
|
||||
<label id="menu-button" for="menu-controller" class="block sm:hidden">
|
||||
{{/* Hamburger menu */}}
|
||||
{{ partial "header/hamburger/hamburger-content.html" }}
|
||||
{{ partial "header/hamburger/hamburger-content.html" . }}
|
||||
</label>
|
||||
{{/* Basic menu */}}
|
||||
<ul class="flex-row hidden list-none text-end sm:flex">
|
||||
|
|
Loading…
Reference in New Issue