{{ define "main" }} {{ partial "home/hero.html" . }}
{{ partial "toc/container.html" (dict "toc" "toc/default.html" "context" . ) }} {{- if .Params.blocks }} {{- partial "blocks/list.html" . -}} {{ 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 }}