{{/* Hugo Blox: CTA Image Paragraph */}} {{/* Documentation: https://hugoblox.com/blocks/ */}} {{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}} {{/* Initialise */}} {{ $page := .wcPage }} {{ $block := .wcBlock }} {{ $content := $block.content }} {{ if not (reflect.IsMap $content) }}{{ $content = dict }}{{ end }}
{{$text}}
{{ $icon := "check" }} {{ $icon_raw := index $item "feature_icon" }} {{ if eq (printf "%T" $icon_raw) "string" }}{{ $icon = $icon_raw }}{{ end }} {{ $features_raw := index $item "features" }} {{ $features := slice }} {{ if reflect.IsSlice $features_raw }} {{ $features = $features_raw }} {{ else if eq (printf "%T" $features_raw) "string" }} {{ $features = slice $features_raw }} {{ end }} {{ if gt (len $features) 0 }}