{{ define "main" }} {{ partial "home/hero.html" . }} {{- if .Params.blocks }} {{- partial "blocks/list.html" .Params.blocks -}} {{ else }}