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