diff --git a/layouts/partials/widgets/slider.html b/layouts/partials/widgets/slider.html index a8339af5..dee5472c 100644 --- a/layouts/partials/widgets/slider.html +++ b/layouts/partials/widgets/slider.html @@ -34,10 +34,14 @@ {{ end }} {{ if $item.cta_url }} - {{ $pack := or .icon_pack "fa" }} + {{ $pack := or .cta_icon_pack "fas" }} + {{ $pack_prefix := $pack }} + {{ if in (slice "fab" "fas" "far" "fal") $pack }} + {{ $pack_prefix = "fa" }} + {{ end }}