{{ partial "docs/html-head" . }} {{ partial "docs/inject/head" . }}
{{ block "title" . }} {{- .Site.Title -}} {{ end }}
{{ partial "docs/nav-brand" . }} {{ partial "docs/inject/nav-before" . }} {{ if .Site.Params.BookMenuBundle }} {{ partial "docs/nav-bundle" . }} {{ else }} {{ partial "docs/nav-filetree" . }} {{ end }} {{ partial "docs/inject/nav-after" . }}
{{ block "main" . }} {{- .Content -}} {{ end }}
{{ $showToC := default (default true .Site.Params.BookShowToC) .Params.bookshowtoc }} {{ if and ($showToC) (.Page.TableOfContents) }}
{{ partial "docs/toc" . }}
{{ end }}
{{ partial "docs/inject/body" . }}