diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 2b037f71..503f0abe 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -111,10 +111,12 @@ {{- range .Site.Menus.main }} {{- $menu_item_url := (cond (strings.HasSuffix .URL "/") .URL (printf "%s/" .URL) ) | absLangURL }} {{- $page_url:= $currentPage.Permalink | absLangURL }} + {{- $is_search := eq ($.Site.GetPage .Name).Layout `search` }}