2020-04-15 15:48:16 +02:00
{{ define "main" }}
< div class = "row flex-xl-nowrap" >
2022-06-10 16:33:08 +02:00
< div class = "col-lg-5 col-xl-4 docs-sidebar{{ if ne .Site.Params.options.navbarSticky true }} docs-sidebar-top{{ end }} d-none d-lg-block" >
2022-02-02 10:54:55 +01:00
< nav { { if eq . Site . Params . menu . section . collapsibleSidebar false } } id = "sidebar-default" { { end } } class = "docs-links" aria-label = "Main navigation" >
2020-04-15 15:48:16 +02:00
{{ partial "sidebar/docs-menu.html" . }}
2021-03-05 21:04:55 +01:00
< / nav >
2020-04-15 15:48:16 +02:00
< / div >
2020-12-03 16:07:04 +01:00
{{ if ne .Params.toc false -}}
2022-06-10 16:33:08 +02:00
< nav class = "docs-toc{{ if ne .Site.Params.options.navbarSticky true }} docs-toc-top{{ end }} d-none d-xl-block col-xl-3" aria-label = "Secondary navigation" >
2020-04-15 15:48:16 +02:00
{{ partial "sidebar/docs-toc.html" . }}
< / nav >
2020-12-03 16:07:04 +01:00
{{ end -}}
{{ if .Params.toc -}}
2022-01-28 08:48:57 +01:00
< main class = "docs-content col-lg-11 col-xl{{ if eq .Site.Params.options.fullWidth false }}-9{{ end }}" >
2020-12-03 16:07:04 +01:00
{{ else -}}
< main class = "docs-content col-lg-11 col-xl-9 mx-xl-auto" >
{{ end -}}
2021-03-05 21:04:55 +01:00
{{ if .Site.Params.options.breadCrumb -}}
<!-- https://discourse.gohugo.io/t/breadcrumb - navigation - for - highly - nested - content/27359/6 -->
< nav aria-label = "breadcrumb" >
< ol class = "breadcrumb" >
{{ partial "main/breadcrumb" . -}}
< li class = "breadcrumb-item active" aria-current = "page" > {{ .Title }}< / li >
< / ol >
< / nav >
{{ end }}
2020-04-17 11:22:19 +02:00
< h1 > {{ .Title }}< / h1 >
< p class = "lead" > {{ .Params.lead | safeHTML }}< / p >
2021-09-07 12:08:46 +02:00
{{ if ne .Params.toc false -}}
< nav class = "d-xl-none" aria-label = "Quaternary navigation" >
{{ partial "sidebar/docs-toc.html" . }}
< / nav >
{{ end -}}
2021-10-15 14:22:46 +02:00
{{ .Content }}
2022-01-17 19:50:23 +01:00
< div class = "page-footer-meta d-flex flex-column flex-md-row justify-content-between" >
{{ if .Site.Params.lastMod -}}
{{ partial "main/last-modified.html" . }}
{{ end -}}
{{ if .Site.Params.editPage -}}
{{ partial "main/edit-page.html" . }}
{{ end -}}
< / div >
2021-09-10 16:38:32 +02:00
{{ partial "main/docs-navigation.html" . }}
<!--
2021-04-20 14:57:42 +02:00
{{ if not .Site.Params.options.collapsibleSidebar -}}
{{ partial "main/docs-navigation.html" . }}
{{ else -}}
< div class = "my-n3" > < / div >
{{ end -}}
2021-09-10 16:38:32 +02:00
-->
2020-04-15 15:48:16 +02:00
< / main >
< / div >
2021-10-15 14:22:46 +02:00
{{ end }}