From 474a676c4b7088ecaa0d5d854c02d3b8e03c27cc Mon Sep 17 00:00:00 2001 From: Brandon Rosage Date: Thu, 7 Mar 2019 12:24:42 -0600 Subject: [PATCH] add tooltips to social links; improve SVGs; add comments to config --- README.md | 6 ++++-- _config.yml | 9 +++++++++ _data/social_media.yml | 4 ++-- _includes/masthead.html | 2 +- 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 953a227..24c925b 100644 --- a/README.md +++ b/README.md @@ -94,16 +94,18 @@ Your website comes pre-configured with three topics (e.g. "Web design" and "Sass #### Social media -Your website supports linking and sharing to social media services you're using, including Facebook, Dribbble, LinkedIn, Twitter, and YouTube. To identify the services you use: +Your website supports linking and sharing to social media services you're using, including Behance, Facebook, Dribbble, LinkedIn, Stack Overflow, Twitter, and YouTube. To identify the services you use: 1. Edit your repository's `_config.yml` file. -2. Add a `social_media` dictionary line, and represent the services you like in a simple `key: value` form: +2. Edit the `social_media` dictionary line, and represent the services you like in a simple `key: value` form: ``` social_media: + behance: your_username facebook: your_username dribbble: your_username linkedin: your_username + stackoverflow: your_user_id twitter: your_username youtube: your_username ``` diff --git a/_config.yml b/_config.yml index 13f5a2e..2b8fa93 100644 --- a/_config.yml +++ b/_config.yml @@ -27,6 +27,15 @@ projects: projects: # - repo-name +social_media: + # behance: your_username + # facebook: your_username + # dribbble: your_username + # linkedin: your_username + # stackoverflow: your_user_id + # twitter: your_username + # youtube: your_username + topics: - name: CSS web_url: https://github.com/topics/css diff --git a/_data/social_media.yml b/_data/social_media.yml index 18ec2e2..3a5ca59 100644 --- a/_data/social_media.yml +++ b/_data/social_media.yml @@ -1,7 +1,7 @@ behance: name: Behance profile_url_prefix: https://www.behance.net/ - icon_svg: ' ' + icon_svg: ' ' facebook: name: Facebook @@ -16,7 +16,7 @@ linkedin: stackoverflow: name: Stack Overflow profile_url_prefix: http://stackoverflow.com/u/ - icon_svg: '' + icon_svg: '' twitter: name: Twitter diff --git a/_includes/masthead.html b/_includes/masthead.html index 894036e..9d56159 100644 --- a/_includes/masthead.html +++ b/_includes/masthead.html @@ -40,7 +40,7 @@
{% assign service_shortname = account[0] %} {% assign service = site.data.social_media[service_shortname] %} - + {{ service.icon_svg }}{{ service.name }}