{{- partials.Include "hook.html" (dict "hook" "main-before" "context" .) -}} {{ block "main" . }}{{ end }} {{- partials.Include "hook.html" (dict "hook" "main-after" "context" .) -}}