{{/* Hugo Blox: Buttons */}} {{/* Documentation: https://hugoblox.com/blocks/ */}} {{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}} {{/* Initialise */}} {{ $page := .wcPage }} {{ $block := .wcBlock }}
{{ range $index, $item := $block.content.buttons }}
{{ with .icon }} {{ partial "functions/get_icon" (dict "name" . "attributes" "height=\"40\" width=\"40\" class=\"rounded-sm\"") }} {{ end }}
{{ .text | markdownify | emojify }}
{{end}}