{{ define "main" }}
{{ with .Params.banner }}
{{ if .enable }}
{{ with .title }}
{{ . | markdownify }}
{{ end }}
{{ with .content }}{{ . | $.Page.RenderString (dict "display" "block") }}{{ end }}
{{ with .button }}
{{ if .enable }}
{{ .label }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ with .Params.about }}
{{ if .enable }}
{{ with .title }}
{{ . | markdownify }}
{{ end }}
{{ with .description }}{{ . | $.Page.RenderString (dict "display" "block") }}{{ end }}
{{ with .content }}{{ . | $.Page.RenderString (dict "display" "block") }}{{ end }}
{{ end }}
{{ end }}
{{ with .Params.portfolio }}
{{ if .enable }}
{{ with .title }}
{{ . | markdownify }}
{{ end }}
{{ with .content }}{{ . | $.Page.RenderString (dict "display" "block") }}{{ end }}
{{ with .button }}
{{ if .enable }}
{{ .label }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ if .Params.service.enable }}
{{ partial "service.html" . }}
{{ end }}
{{ if .Params.cta.enable }}
{{ partial "cta.html" . }}
{{ end }}
{{ with .Params.funfacts }}
{{ if .enable }}
{{ with .title }}
{{ . | markdownify }}
{{ end }}
{{ with .description }}{{ . | $.Page.RenderString (dict "display" "block") }}{{ end }}
{{ range .funfact_item }}
0
{{ .name | markdownify }}
{{ end }}
{{ range .testimonial_slider }}
{{ with .content }}{{ . | $.Page.RenderString (dict "display" "block") }}{{ end }}