{{ define "main" }} {{ partial "home/hero.html" . }} {{- if .Params.blocks }} {{- partial "blocks/list.html" .Params.blocks -}} {{ else }}
{{ if (partial "GetTextFromHTML" .Content) }}
{{- partial "PrepareHTML" .Content -}}
{{ end }} {{- range site.Data.menus.primary -}}
{{ partial "home/top.html" . }} {{ if eq .kind "news" }} {{ partial "home/posts.html" . }} {{ else }} {{ if .children }} {{ partial "home/pages.html" . }} {{ end }} {{ end }}
{{ end }} {{ partial "home/volumes.html" . }}
{{ end -}} {{ end }}