{{ $scratch := partialCached "utils/tocparser.html" . . }} {{ $firstSection := (index ($scratch.GetSortedMapValues "sections") 0).title }}