{{ $icon_resource := resources.Get (printf "feather/icons/%s.svg" .) }} {{ $icon := $icon_resource.Content }} {{ $icon = replaceRE `` `{{ . }} icon` $icon }} {{ $icon | safeHTML }}