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