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