{{ define "head" }} {{ end }} {{ define "main" }}
{{ partial "docs-nav.html" . }}
{{ partial "breadcrumbs" . }}

{{ .Title }}

{{ with .Params.description }}

{{ . | markdownify }}

{{ end }} {{ if .Params.bannerText }} {{ partial "banner-article.html" . }} {{ else }} {{ $ancestorDirs := slice }} {{ with .File }} {{ $ancestorDirs = split .Dir "/" }} {{ end }} {{ $currPage := .Page }} {{ range $i, $page := $ancestorDirs }} {{ if and $currPage.Params.bannerText $currPage.Params.bannerChildren }} {{ partial "banner-article.html" $currPage }} {{ end }} {{ $currPage = $currPage.Parent }} {{ end }} {{ end }} {{ .Content }} {{ partial "feedback.html" . }}
{{ if not .Params.hideTOC }} {{ partial "docs-toc.html" . }} {{ end }} {{ partial "scripts.html" . }}
{{ end }}