{{ define "title" }} {{ .Title }} | {{ site.Title }} {{ end }} {{ define "main" }} {{ $desc := .Description }} {{ $numSections := len .Sections }} {{ $isRoot := eq .FirstSection .CurrentSection }}