{{ $skillID := replace (lower .name) " " "-" }} {{ if .id }} {{ $skillID = .id }} {{ end }} {{ $logoImage := "" }} {{ if .logo }} {{ $logoImage = resources.Get .logo }} {{/* svg don't support "Fit" operation */}} {{ if ne $logoImage.MediaType.SubType "svg" }} {{ $logoImage = $logoImage.Fit "24x24" }} {{ end }} {{ end }}
{{ if .popup }} {{ partial "partials/cards/skill-popup.html" (dict "skill" .) }} {{ end }}