{{ if .Params.features }} {{ $tick := 0 }} {{ range $i, $e:= .Params.features }}
{{ with .transition }} {{ if .start }}
{{ end }} {{ if .start_dark }} {{ end }} {{ end }} {{ with .bg_img }} {{ $res := resources.Get .img }}
{{ if .img2 }} {{ $res2 := resources.Get .img2 }}
{{ end }} {{ end }}
{{ if eq .side "center" }}
{{ if .subtitle }}

{{ .subtitle }}

{{ end }} {{ if .image }}
{{ partial "image" (dict "Src" .image "Alt" "Banner" "Class" "w-1/3 h-1/3" ) }}
{{ end }} {{ if .timeline }} {{ partial "components/timeline.html" . }} {{ end }}

{{ .title | markdownify }}

{{ range $i, $e := .grid }}

{{ .title }}

{{ .content | markdownify }}

{{ end }}
{{ if .notice }}

{{ .notice | markdownify }}

{{ end }}
{{ if .tickets }} {{ partial "components/ticket_list.html" . }} {{ end }} {{ if .qa }} {{ partial "components/questions.html" . }} {{ end }} {{ if .testimonials }} {{ partial "components/testimonials.html" . }} {{ end }} {{ if .img_grid }} {{ partial "components/img_grid.html" . }} {{ end }} {{ if .card_grid }} {{ partial "components/card_grid.html" . }} {{ end }}

{{ .content | markdownify }}

    {{ range .bulletpoints }}
  • {{ . | markdownify }}
  • {{ end }}
{{ with .button }} {{ if .enable }} {{ end }} {{ end }}

{{ else }} {{ if eq .side "left" }} {{ $tick = 0 }} {{ else if eq .side "right" }} {{ $tick = 1 }} {{ end }}
{{ if .image }} {{ $res := resources.Get .image }} {{ if .image_link }} {{ end }} {{ end }} {{ if .image_link }} {{ end }}
{{ if .subtitle }}

{{ .subtitle }}

{{ end }}

{{ .title | markdownify }}

{{ .content | markdownify }}

    {{ range .bulletpoints }}
  • {{ . | markdownify }}
  • {{ end }}
{{ with .button }} {{ if .enable }} {{ .label }} {{ end }} {{ end }}
{{ if eq $tick 0 }} {{ $tick = 1}} {{ else }} {{ $tick = 0 }} {{ end }} {{ end }}
{{ with .bg_img }} {{ if .end_img }} {{ $res3 := resources.Get .end_img }}
{{ end }} {{ end }} {{ with .transition }} {{ if .end }}
{{ end }} {{ if .end_dark }} {{ end }} {{ end }}
{{ end }} {{ end }}