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

{{ if and (isset .Params "stack") (eq .Params.stack true)}} {{ partial "icons/logo-stack.html" (dict "context" . "class" "stack-logo-inline") }} {{ end }} {{ .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" . }}
{{ partial "docs-toc.html" . }}
{{ end }}