From 0ca50fc05d5b61bff0580ddab04e7ae579e0dc71 Mon Sep 17 00:00:00 2001 From: Jan Date: Tue, 18 Jan 2022 23:06:08 +0100 Subject: [PATCH] Update skill.html Changed "logo" to "icon" to correspond to guide (https://github.com/hugo-toha/guides/blob/2359b494c7b768cb32ce468fe1047fc305d79898/content/posts/configuration/sections/skills/index.md?plain=1#L27) --- layouts/partials/cards/skill.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 }}