diff --git a/site/layouts/partials/navbar.html b/site/layouts/partials/navbar.html
index b235c33630..792b421e38 100644
--- a/site/layouts/partials/navbar.html
+++ b/site/layouts/partials/navbar.html
@@ -39,60 +39,58 @@
{{ $p := . -}}
{{ $s := .Site -}}
{{ range .Site.Menus.main -}}
- {{ if .HasChildren }}
-
-
- {{ else -}}
-
- {{ $topHidden := false }}
- {{ if .Page }}
- {{ $topHidden = .Page.Params.top_hidden | default false }}
- {{ else }}
- {{ $topHidden = .Params.top_hidden | default false }}
- {{ end }}
- {{ if not $topHidden }}
-
- {{ $active := or ($p.IsMenuCurrent "main" .) ($p.HasMenuCurrent "main" .) -}}
- {{ $href := "" -}}
- {{ with .Page -}}
- {{ $active = or $active ( $.IsDescendant .) -}}
- {{ $href = .RelPermalink -}}
- {{ else -}}
- {{ $href = .URL | relLangURL -}}
- {{ end -}}
- {{ $isExternal := ne $baseURL.Host (urls.Parse .URL).Host -}}
-
- {{- .Pre -}}
- {{ .Name }}
- {{- .Post -}}
-
-
- {{ end -}}
- {{ end -}}
+
+ {{ if .HasChildren }}
+
+
+
+ {{ else -}}
+
+ {{ $topHidden := false }}
+ {{ if .Page }}
+ {{ $topHidden = .Page.Params.top_hidden | default false }}
+ {{ else }}
+ {{ $topHidden = .Params.top_hidden | default false }}
+ {{ end }}
+ {{ if not $topHidden }}
+ {{ $active := or ($p.IsMenuCurrent "main" .) ($p.HasMenuCurrent "main" .) -}}
+ {{ $href := "" -}}
+ {{ with .Page -}}
+ {{ $active = or $active ( $.IsDescendant .) -}}
+ {{ $href = .RelPermalink -}}
+ {{ else -}}
+ {{ $href = .URL | relLangURL -}}
+ {{ end -}}
+ {{ $isExternal := ne $baseURL.Host (urls.Parse .URL).Host -}}
+
+ {{- .Pre -}}
+ {{ .Name }}
+ {{- .Post -}}
+
+ {{ end -}}
+ {{ end -}}
+
{{ end -}}
{{ if .Site.Params.versions -}}