{{ define "title" }}
{{ .Title }} | {{ site.Title }}
{{ end }}

{{ define "main" }}
{{ $desc := .Description }}
{{ $numSections := len .Sections }}
{{ $isRoot := eq .FirstSection .CurrentSection }}
<div class="relative max-w-3xl md:max-w-5xl lg:max-w-7xl mx-auto px-6 lg:px-8 my-16">
  <div>
    {{ partial "hero.html" . }}
  </div>

  <div class="mt-8">
    {{ if $isRoot }}
    {{ $columnedSections := where .Sections ".Params.self_standing" "ne" true }}
    {{ $fullWidthSections := where .Sections ".Params.s