From dab6f58e34453041bdee75045a352a620176c8d8 Mon Sep 17 00:00:00 2001 From: coezbek Date: Sat, 27 Mar 2021 17:43:39 +0100 Subject: [PATCH] Make social icons more generic and add accessibility (#130) * Made social icons more configurable and add accessibility * Paths weren't correct for landing.md * Support for empty values in social media configuration --- _config.yml | 24 +++++++++++++----------- _includes/footer.html | 39 +++++++++------------------------------ 2 files changed, 22 insertions(+), 41 deletions(-) diff --git a/_config.yml b/_config.yml index 36b76e1..d4f3c61 100644 --- a/_config.yml +++ b/_config.yml @@ -17,17 +17,19 @@ phone: (716) 555-5555 tiles-source: pages # accepts "posts" or "pages" tiles-count: 6 -# social settings -500px_url: -facebook_url: -github_url: -gitlab_url: https://gitlab.com/andrewbanchich -googleplus_url: https://plus.google.com/u/0/+AndrewBanchich -instagram_url: https://instagram.com -linkedin_url: https://www.linkedin.com/in/andrew-banchich-a4ba1195 -pinterest_url: -slack_url: -twitter_url: https://twitter.com/andrewbanchich +# social settings (key must match name of font awesome icon) +# see https://fontawesome.com/icons?d=gallery&p=2&s=brands +# Icons are not shown if value is empty +# You need to restart jekyll for changes to have an effect +socials: + GitHub: https://github.com/andrewbanchich + GitLab: + Google-Plus: https://plus.google.com/u/0/+AndrewBanchich + Instagram: + LinkedIn: https://www.linkedin.com/in/andrew-banchich-a4ba1195 + Twitter: https://twitter.com/andrewbanchich + Facebook: + Slack: # build settings markdown: kramdown diff --git a/_includes/footer.html b/_includes/footer.html index efda388..7a14761 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -67,36 +67,15 @@