From cb61741202228d1534969369179c2dd27af6e799 Mon Sep 17 00:00:00 2001 From: Toon Schoenmakers Date: Sat, 17 Oct 2020 23:06:50 +0200 Subject: [PATCH] Hide the menu button on mobile if the menu is empty --- layouts/partials/header.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 88db6a1..23214f8 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,7 +3,9 @@ - + {{ if len $.Site.Menus }} + + {{ end }} {{ if len $.Site.Menus }} {{ partial "menu.html" . }}