<!doctype html>
<html lang="{{ .Site.LanguageCode }}" style="background-color: var(--bs-dark)">
    {{ partial "head.html" . }}

    <body>
        <div id="all">
            {{ partial "nav.html" . }} {{ partial "breadcrumbs.html" . }}

            <div
                id="content"
                class="mt-5 mb-5"
                style="min-height: calc(80vh - 152px)"
            >
                {{ if isset .Params "id" }} {{ partial .Params.id . }} {{ else
                }}

                <div class="container">
                    {{ if .Params.toc }}
                    <aside>
                        <header>
                            <h1>{{ .Title }}</h1>
                        </header>
                        {{ .TableOfContents }}
                    </aside>
                    {{ end }}

                    <div>{{ .Content }}</div>
                </div>
                <!-- /.container -->

                {{ end }}
            </div>
            <!-- /#content -->
        </div>
        <!-- /#all -->

        {{ partial "footer.html" . }} {{ partial "scripts.html" . }}
    </body>
</html>
