diff --git a/layouts/partials/docs/menu-filetree.html b/layouts/partials/docs/menu-filetree.html index dd61af7..8384f0f 100644 --- a/layouts/partials/docs/menu-filetree.html +++ b/layouts/partials/docs/menu-filetree.html @@ -15,7 +15,7 @@ {{ template "book-page-link" (dict "Page" . "CurrentPage" $.CurrentPage) }} {{ template "book-section-children" (dict "Section" . "CurrentPage" $.CurrentPage) }} - {{ else if and .IsPage .Content }} + {{ else if and .IsPage }}
  • {{ template "book-page-link" (dict "Page" . "CurrentPage" $.CurrentPage) }}
  • @@ -39,6 +39,10 @@ {{- partial "docs/title" .Page -}} + {{ else if .Page.Params.bookHref }} + + {{- partial "docs/title" .Page -}} + {{ else }} {{- partial "docs/title" .Page -}} {{ end }}