{{ $icon := resources.Get (printf "icons/%s.svg" ($.Get 0)) }} {{ if $icon }} {{ $icon.Content | safeHTML }} {{ else }} {{ i18n "shortcode.no_icon" }} {{ end }}