From b82b33466db3e1e4911631e90aa4eedb3a386d5d Mon Sep 17 00:00:00 2001 From: Joseph Rex Date: Fri, 9 Jun 2017 10:09:11 -0500 Subject: [PATCH] Change spelling of dribbble FontAwesome uses the right spelling of dribbble and any future font system will probably do. A condition was added for monofonts. --- exampleSite/config.toml | 2 +- layouts/partials/social.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8d758c5..eec01ca 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -51,4 +51,4 @@ disqusShortname = "spf13" twitter = "https://www.twitter.com/" facebook = "https://www.facebook.com/" github = "https://www.github.com/" - dribble = "https://www.dribbble.com/" + dribbble = "https://www.dribbble.com/" diff --git a/layouts/partials/social.html b/layouts/partials/social.html index ce96cc8..547f676 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -1,6 +1,6 @@
{{ if eq .Site.Params.iconFont "font-awesome" }} - + {{ range $key, $val := .Site.Social }} @@ -8,11 +8,11 @@ {{ end }} {{ else }} - + {{ $iconStyle := .Site.Params.socialIconStyle }} {{ range $key, $val := .Site.Social }} - {{ $iconStyle }}{{ if eq $key "twitter" }}twitterbird{{ else }}{{ $key }}{{ end }} + {{ $iconStyle }}{{ if eq $key "twitter" }}twitterbird{{ else if eq $key "dribbble" }}dribble{{ else }}{{ $key }}{{ end }} {{ end }}