diff --git a/layouts/partials/nav-docs.html b/layouts/partials/nav-docs.html index 764a27f..817f525 100644 --- a/layouts/partials/nav-docs.html +++ b/layouts/partials/nav-docs.html @@ -9,64 +9,45 @@ Skip menu {{ $currentPage := . }} {{ range .Site.Menus.docs }} - {{ $active := or ($currentPage.IsMenuCurrent "docs" .) (eq $currentPage.Section .Identifier)}} - {{ if .HasChildren }} -
- - {{ .Pre }} - {{ .Name }} - {{ .Post }} - - {{ else }} -
  • +
  • - {{ .Pre }} - {{ .Name }} - {{ .Post }} + {{ .Pre }}{{ .Name }}{{ .Post }}
  • {{ end }} - {{ end }} - - - {{ else }} -
  • - - {{ .Pre }} - {{ .Name }} - {{ .Post }} - -
  • - {{ end }} +
    {{ end }}