{{ define "main" }} {{ partial "hero.html" . }} {{- $pages := .Pages.ByDate.Reverse -}} {{ with .Content }} {{ . }} {{ end }} {{ partial "list-layout.html" (dict "Pages" $pages "Context" . "Site" .Site "SpotlightTitle" .Title) }} {{ end }}