{{ define "left" }}
  {{ partial "sidebar/mainnav.html" . }}
  {{ partial "sidebar/guides.html" . }}
{{ end }}

{{ define "main" }}
<article class="prose min-w-0 max-w-4xl dark:prose-invert">
  {{ partial "breadcrumbs.html" . }}
  <h1 data-pagefind-weight="10" class="scroll-mt-36">{{ .Title }}</h1>
  <div class="block lg:hidden">
    {{ partialCached "pagemeta.html" . . }}
    <hr />
  </div>
  {{ .Content }}
  {{ partial "heading.html" (dict "text" "Modules" "level" 2) }}
  <ol>
    {{- range $i, $e := .Pages }}
    <li>
      <a class="link" href="{{ .Permalink }}">{{ .LinkTitle }}</a>
      <p>{{ plainify .Description }}</p>
    </li>
    {{- end }}
  </ol>
</article>
{{ end }}
