+ {{ end }}
+ {{ if and ($.Site.Params.enableSearch | default false) (eq ($.Scratch.Get "searchCount") 0) }}
+
+
+
+ {{ end }}
+{{ end }}
\ No newline at end of file
diff --git a/layouts/partials/header/hamburger.html b/layouts/partials/header/hamburger.html
index fbd5e12c..ddd58df1 100644
--- a/layouts/partials/header/hamburger.html
+++ b/layouts/partials/header/hamburger.html
@@ -7,124 +7,7 @@
{{/* Hamburger menu */}}
{{ if or .Site.Menus.main (.Site.Params.enableSearch | default false) }}
{{ end }}
diff --git a/layouts/partials/header/hamburger/hamburger-content.html b/layouts/partials/header/hamburger/hamburger-content.html
new file mode 100644
index 00000000..bcf2f45d
--- /dev/null
+++ b/layouts/partials/header/hamburger/hamburger-content.html
@@ -0,0 +1,118 @@
+
+
+ {{ partial "icon.html" "bars" }}
+
+
+
+
+ {{ partial "icon.html" "xmark" }}
+
+ {{ if .Site.Menus.main }}
+ {{ range .Site.Menus.main }}
+ {{ if and (eq .Params.action "locale") (or (not page.IsTranslated) (not site.IsMultiLingual)) }}
+ {{ continue }}
+ {{ end }}
+
+ {{ end }}
+ {{ if and ($.Site.Params.enableSearch | default false) (eq ($.Scratch.Get "searchCount") 0) }}
+
+
+
+ {{ end }}
+ {{ end }}
+
+
\ No newline at end of file
diff --git a/layouts/partials/header/hybrid.html b/layouts/partials/header/hybrid.html
index 69aba1e1..122b09bf 100644
--- a/layouts/partials/header/hybrid.html
+++ b/layouts/partials/header/hybrid.html
@@ -5,229 +5,13 @@
{{ partial "logo.html" . }}
{{ if or .Site.Menus.main (.Site.Params.enableSearch | default false) }}
- {{/* Hamburger menu */}}
{{/* Basic menu */}}
- {{ if .Site.Menus.main }}
- {{ range .Site.Menus.main }}
- {{ if and (eq .Params.action "locale") (or (not page.IsTranslated) (not site.IsMultiLingual)) }}
- {{ continue }}
- {{ end }}
-