{{ define "main" }}
  <div class="mx-auto flex max-w-[90rem]">
    {{ partial "sidebar.html" (dict "context" . "disableSidebar" true) }}
    {{ partial "toc.html" . }}
    <article class="w-full break-words flex min-h-[calc(100vh-4rem)] min-w-0 justify-center pb-8 pr-[calc(env(safe-area-inset-right)-1.5rem)]">
      <main class="w-full min-w-0 max-w-6xl px-6 pt-4 md:px-12">
        <div class="content">
          <h1 class="text-center mt-2 text-4xl font-bold tracking-tight text-slate-900 dark:text-slate-100">{{ .Title }}</h1>
          {{ .Content }}
        </div>
      </main>
    </article>
  </div>
{{ end }}
