diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html
index 74901a7..c65be8e 100644
--- a/layouts/partials/svg.html
+++ b/layouts/partials/svg.html
@@ -1,25 +1,26 @@
-{{- if (eq .name "123rf") -}}
+{{ $icon_name := ( trim .name " " | lower )}}
+{{- if (eq $icon_name "123rf") -}}
-{{- else if (eq .name "adobestock") -}}
+{{- else if (eq $icon_name "adobestock") -}}
-{{- else if (eq .name "behance") -}}
+{{- else if (eq $icon_name "behance") -}}
-{{- else if (eq .name "buymeacoffee") -}}
+{{- else if (eq $icon_name "buymeacoffee") -}}
-{{- else if (eq .name "codepen") -}}
+{{- else if (eq $icon_name "codepen") -}}
-{{- else if (eq .name "cryptohack") -}}
+{{- else if (eq $icon_name "cryptohack") -}}
-{{- else if (eq .name "dev") -}}
+{{- else if (eq $icon_name "dev") -}}
-{{- else if (eq .name "discogs") -}}
+{{- else if (eq $icon_name "discogs") -}}
-{{- else if (eq .name "discord") -}}
+{{- else if (eq $icon_name "discord") -}}
-{{- else if (eq .name "dreamstime") -}}
+{{- else if (eq $icon_name "dreamstime") -}}
-{{- else if (eq .name "dribbble") -}}
+{{- else if (eq $icon_name "dribbble") -}}
-{{- else if (eq .name "email") -}}
+{{- else if (eq $icon_name "email") -}}
-{{- else if (eq .name "facebook") -}}
+{{- else if (eq $icon_name "facebook") -}}
-{{- else if (eq .name "freepik") -}}
+{{- else if (eq $icon_name "freepik") -}}
-{{- else if (eq .name "github") -}}
+{{- else if (eq $icon_name "github") -}}
-{{- else if (eq .name "gitlab") -}}
+{{- else if (eq $icon_name "gitlab") -}}
-{{- else if (eq .name "hackerrank") -}}
+{{- else if (eq $icon_name "hackerrank") -}}
-{{- else if (eq .name "hackthebox") -}}
+{{- else if (eq $icon_name "hackthebox") -}}
-{{- else if (eq .name "instagram") -}}
+{{- else if (eq $icon_name "instagram") -}}
-{{- else if (eq .name "lastfm") -}}
+{{- else if (eq $icon_name "lastfm") -}}
-{{- else if (eq .name "linkedin") -}}
+{{- else if (eq $icon_name "linkedin") -}}
-{{- else if (eq .name "mastodon") -}}
+{{- else if (eq $icon_name "mastodon") -}}
-{{- else if (eq .name "medium") -}}
+{{- else if (eq $icon_name "medium") -}}
-{{- else if (eq .name "mixcloud") -}}
+{{- else if (eq $icon_name "mixcloud") -}}
-{{- else if (eq .name "paypal") -}}
+{{- else if (eq $icon_name "paypal") -}}
-{{- else if (eq .name "qq") -}}
+{{- else if (eq $icon_name "qq") -}}
-{{- else if (eq .name "rss") -}}
+{{- else if (eq $icon_name "rss") -}}
-{{- else if (eq .name "soundcloud") -}}
+{{- else if (eq $icon_name "soundcloud") -}}
-{{- else if (eq .name "shutterstock") -}}
+{{- else if (eq $icon_name "shutterstock") -}}
-{{- else if (eq .name "slack") -}}
+{{- else if (eq $icon_name "slack") -}}
-{{- else if (eq .name "sourcerer") -}}
+{{- else if (eq $icon_name "sourcerer") -}}
-{{- else if (eq .name "stackoverflow") -}}
+{{- else if (eq $icon_name "stackoverflow") -}}
-{{- else if (eq .name "steam") -}}
+{{- else if (eq $icon_name "steam") -}}
-{{- else if (eq .name "telegram") -}}
+{{- else if (eq $icon_name "telegram") -}}
-{{- else if (eq .name "twitch") -}}
+{{- else if (eq $icon_name "twitch") -}}
-{{- else if (eq .name "twitter") -}}
+{{- else if (eq $icon_name "twitter") -}}
-{{- else if (eq .name "youtube") -}}
+{{- else if (eq $icon_name "youtube") -}}
-{{- else if .name -}}
+{{- else if $icon_name -}}