diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index 967fc6c0061..3049b1472e8 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -97,18 +97,25 @@

{{ if not $disableShortcutsTitle}}{{ T "Shortcuts-Title"}}{{ end }}

{{with .sect}} {{if .IsSection}} {{safeHTML .Params.head}} -
  • {{safeHTML .Params.Pre}}{{or .Params.menuTitle .LinkTitle .Title}}{{safeHTML .Params.Post}} + {{ if and (ne $numberOfPages 0) (ne .Parent .Site.Home) }} + {{if $isParent }} + + {{ else }} + + {{ end }} + {{ end }} {{ if $showvisitedlinks}} - + {{ end }} - {{ $numberOfPages := (add (len .Pages) (len .Sections)) }} {{ if ne $numberOfPages 0 }}