diff --git a/layouts/partials/social-follow.html b/layouts/partials/social-follow.html index 8e09334..aa20a0b 100644 --- a/layouts/partials/social-follow.html +++ b/layouts/partials/social-follow.html @@ -1,14 +1,14 @@ {{ $icon_size := "32px" }} -{{ $social_media := slice "stackoverflow" "facebook" "twitter" "instagram" "youtube" "linkedin" "github" "gitlab" "keybase" "medium" "mastodon" "slack" "rss" }} +{{ $social_media := slice "StackOverflow" "Facebook" "Twitter" "Instagram" "YouTube" "LinkedIn" "GitHub" "GitLab" "Keybase" "Medium" "Mastodon" "Slack" "RSS" }} {{ $dot_passthrough := . }} {{ range $social_media }} {{ $this_key := . }} {{ with $dot_passthrough.Param . }} - - {{ partial (print "svg/" $this_key ".svg") (dict "size" $icon_size) }} + + {{ partial (print "svg/" ($this_key | lower) ".svg") (dict "size" $icon_size) }} {{- partial "new-window-icon.html" . -}} {{ end }} -{{ end }} \ No newline at end of file +{{ end }}