diff --git a/exampleSite/content/home/skills.md b/exampleSite/content/home/skills.md index 80109c7a..e7d9ca78 100644 --- a/exampleSite/content/home/skills.md +++ b/exampleSite/content/home/skills.md @@ -43,7 +43,7 @@ subtitle = "" # Place custom SVG icon in `assets/images/icon-pack/`, creating folders if necessary. # [[feature]] # icon = "beach-sunset" -# icon_pack = "svg" +# icon_pack = "custom" # name = "Surfing" # description = "90%" diff --git a/layouts/partials/widgets/featurette.html b/layouts/partials/widgets/featurette.html index 1573edac..56df3c03 100644 --- a/layouts/partials/widgets/featurette.html +++ b/layouts/partials/widgets/featurette.html @@ -26,7 +26,7 @@
{{- if eq $pack "emoji" -}} {{- . | emojify -}} - {{- else if eq $pack "svg" -}} + {{- else if eq $pack "custom" -}} {{- $svg_icon := resources.Get (printf "images/icon-pack/%s.svg" .) -}} {{- if $svg_icon -}}{{.}}{{- end -}} {{- else -}}