{{ define "main" }} {{ with site.GetPage "homepage" }} {{ with .Params.banner }}

{{ .title | markdownify }}

{{ .content | markdownify }}

{{ with .button }} {{ if .enable }} {{ .label }} {{ end }} {{ end }}
{{ partial "image" (dict "Src" .image "Alt" "Banner image" "Loading" "eager" "Class" "mx-auto" "Size" "800x") }}
{{ end }} {{ range $i, $e:= .Params.features }}
{{ partial "image" (dict "Src" .image "Alt" "feature image") }}

{{ .title | markdownify }}

{{ .content | markdownify }}

    {{ range .bulletpoints }}
  • {{ . | markdownify }}
  • {{ end }}
{{ end }} {{ with site.GetPage "sections/testimonial" }} {{ if .Params.enable }}

{{ .Title | markdownify }}

{{ .Params.description | markdownify }}

{{ range .Params.testimonials }}
{{ .content | markdownify }}
{{ partial "image" (dict "Src" .avatar "Size" "50x50" "Class" "rounded-full" "Alt" .name) }}

{{ .name }}

{{ .designation | markdownify }}

{{ end }}
{{ end }} {{ end }} {{ end }} {{ end }}