{{- partial "head.html" . -}} {{ if .Site.Params.addGoogleTag }} {{ end }} {{- partial "header.html" . -}}
{{ partial "breadcrumb.html" . }}
{{ $sections := .FirstSection.Sections.ByWeight }} {{ $secondSection := .FirstSection }} {{ $page := . }} {{ range $sections }} {{ if $page.IsDescendant . }} {{ $secondSection = . }} {{ end }} {{ end }}

{{ $secondSection.LinkTitle }}

{{ partial "searchInput" . }}
{{ with (.GetPage "/docs") }}
{{ partial "section" . }}
{{ end }}
{{ partial "tree.html" . }}
{{ define "content" }} {{ if .context.IsSection }} {{ .context.LinkTitle }} {{ else }} {{ .context.LinkTitle }} {{ end }}

{{ .context.Description }}

{{ $count := add .count 1 }} {{ if .context.IsSection }} {{ range (union (where .context.Pages ".context.Params._build.render" "!=" false) .context.Sections).ByWeight }} {{ template "content" (dict "context" . "count" $count) }} {{ end }} {{ else}} {{ end }} {{ end }}

{{ .Title }}

{{ .Content }} {{ range (union (where .Pages ".Params._build.render" "!=" false) .Sections).ByWeight }} {{ template "content" (dict "context" . "count" 2) }} {{ end }}
{{ if .IsPage }}
{{ with .Next }} {{ i18n {{ i18n "Previous" }} : {{.LinkTitle}} {{ end }} {{ with .Prev }} {{ end }}
{{ end }}
{{ if .IsPage }}
{{ i18n "What’s on this Page" }}
{{ .TableOfContents }}
{{ end }}
{{ $aside := resources.Get "js/aside.js" }} {{ $asideJS := $aside | resources.Fingerprint "sha512" }} {{ $tab := resources.Get "js/markdown-tab.js" }} {{ $tabJS := $tab | resources.Fingerprint "sha512" }}