{{ $toc := partial "toc.html" (dict "page" .) }} {{ $needTOC := .Scratch.Get "needTOC" }} {{ if .Scratch.Get "seeAlso" }} {{ $related := .Site.RegularPages.Related . | first 6 }} {{ with $related }}
{{ .LinkTitle }}
{{ .Description }}
{{ .NextInSection.LinkTitle }}
{{ .PrevInSection.LinkTitle }}