diff --git a/layouts/partials/cards/skill.html b/layouts/partials/cards/skill.html index cba5529..48a54c5 100644 --- a/layouts/partials/cards/skill.html +++ b/layouts/partials/cards/skill.html @@ -2,15 +2,15 @@
- {{ if .logo }} - {{ $logoImage := resources.Get .logo }} + {{ if .icon }} + {{ $iconImage := resources.Get .icon }} {{/* svg don't support "Fit" operation */}} - {{ if ne $logoImage.MediaType.SubType "svg" }} - {{ $logoImage = $logoImage.Fit "24x24" }} + {{ if ne $iconImage.MediaType.SubType "svg" }} + {{ $iconImage = $iconImage.Fit "24x24" }} {{ end }} - {{ .name }} + {{ .name }} {{ end }}
{{ .name }}