{{ define "main" }} {{ $hasGraphQLVoyager := findRE "graphql-voyager" .RawContent }}
{{ if (in site.Params.doks.sectionNav .Section) -}}
{{ partial "sidebar/section-menu.html" . }}
{{ end -}} {{ if and (eq site.Params.doks.containerBreakpoint "fluid") (in .Site.Params.mainSections .Type) }}
{{ end }} {{ if and (ne .Params.toc false) (not $hasGraphQLVoyager) -}} {{ end -}} {{ if and (ne .Params.toc false) (not $hasGraphQLVoyager) -}}
{{ else -}}
{{ end -}} {{ if site.Params.doks.breadcrumbTrail -}} {{ end }}

{{ .Title }}

{{ if and (ne .Params.toc false) (not $hasGraphQLVoyager) -}} {{ end -}} {{ if site.Params.doks.headlineHash -}} {{ partial "main/headline-hash" .Content }} {{ else -}} {{ .Content }} {{ end -}} {{ partial "main/docs-navigation.html" . }}
{{ if and (eq site.Params.doks.containerBreakpoint "fluid") (in .Site.Params.mainSections .Type) }}
{{ end }}
{{ end }}