From 48c70b333a7727e651a91410cf0bf03b7cad152a Mon Sep 17 00:00:00 2001 From: Dmitry Kolosov Date: Sat, 29 Aug 2020 10:02:58 +0300 Subject: [PATCH] Limit sites menu condition to only main section --- layouts/partials/header.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c439104..f8459c9 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,7 +1,7 @@

{{ .Site.Title }}

-{{ if .Site.Menus }} +{{ if .Site.Menus.main }} {{ else }} -{{ end }} \ No newline at end of file +{{ end }}