{{/* Hugo Blox: CTA Image Paragraph */}} {{/* Documentation: https://hugoblox.com/blocks/ */}} {{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}} {{/* Initialise */}} {{ $page := .wcPage }} {{ $block := .wcBlock }}
{{ range $idx, $item := $block.content.items }} {{ $title := .title | emojify | $page.RenderString }} {{ $text := .text | emojify | $page.RenderString }} {{ $image := resources.GetMatch (path.Join "media" .image) }} {{ $image = $image.Process "Resize 800x webp" }}
{{$title | plainify}}

{{$title}}

{{$text}}

{{ $icon := .feature_icon | default "check" }} {{ if .features }}
    {{ range .features }}
  • {{ partial "functions/get_icon" (dict "name" $icon "attributes" `class="inline-block pr-3" style="height: 1em;"`) }} {{ . | markdownify }}
  • {{ end }}
{{ end }} {{ with .button }} {{.text}} {{ end }}
{{ end }}