From af218174c7b30bb64ffe13b6f0098d0f07ffcbb4 Mon Sep 17 00:00:00 2001 From: Jerry Kiely Date: Tue, 26 Nov 2019 01:59:31 +0000 Subject: [PATCH] changed how fontawesome icons are configured --- exampleSite/config.toml | 18 ++++++------------ layouts/partials/contact.html | 2 +- layouts/partials/social.html | 2 +- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 60a38b4..fc9a4ed 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -39,18 +39,15 @@ googleAnalytics = "UA-XXXXXXX-Y" location = "New York" [[params.contact.list]] - style = "fas" - icon = "fa-phone-square" + icon = "fas fa-phone-square" url = "tel:#" text = "0123 4567 890" [[params.contact.list]] - style = "fas" - icon = "fa-envelope-square" + icon = "fas fa-envelope-square" url = "mailto:#" text = "simon.doe@yourwebsite.com" [[params.contact.list]] - style = "fas" - icon = "fa-globe" + icon = "fas fa-globe" url = "#" text = "www.yourwebsite.com" @@ -294,18 +291,15 @@ googleAnalytics = "UA-XXXXXXX-Y" enable = true [[params.social.list]] - style = "fab" - icon = "fa-github-square" + icon = "fab fa-github-square" url = "//github.com/username" title = "username" [[params.social.list]] - style = "fab" - icon = "fa-linkedin" + icon = "fab fa-linkedin" url = "//linkedin.com/in/username" title = "username" [[params.social.list]] - style = "fab" - icon = "fa-twitter-square" + icon = "fab fa-twitter-square" url = "//twitter.com/username" title = "@username" diff --git a/layouts/partials/contact.html b/layouts/partials/contact.html index dfe03f9..d6bd9ad 100644 --- a/layouts/partials/contact.html +++ b/layouts/partials/contact.html @@ -2,7 +2,7 @@
diff --git a/layouts/partials/social.html b/layouts/partials/social.html index 225df4c..ff7f467 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -5,7 +5,7 @@ {{ range .Site.Params.social.list }}
  • - + {{ .title }}