From 0a45a52fcbe8de8953ea43210d988f3e37932195 Mon Sep 17 00:00:00 2001 From: yousifd Date: Wed, 22 Jan 2020 22:05:57 +0300 Subject: [PATCH] Hide hamburger menu button on mobile when there are no menu items (#254) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Hide hamburger menu button on mobile when there are no menu items fix 253 * Fix template identation Co-authored-by: Luiz F. A. de PrĂ¡ --- layouts/partials/header.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 0f9197b..8043bea 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,6 +3,7 @@ {{ .Site.Title }} + {{ if or .Site.Menus.main .Site.IsMultiLingual }} + {{ end }}