From 1327dfdaed0ed3ac1fb5ce26f9c909be0aa29eff Mon Sep 17 00:00:00 2001 From: Sam Klein Date: Sun, 24 Mar 2019 06:52:37 -0500 Subject: [PATCH 1/2] add: website --- _config.yml | 1 + _data/social_media.yml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/_config.yml b/_config.yml index 6901970018..9f6c7e5cbc 100644 --- a/_config.yml +++ b/_config.yml @@ -38,6 +38,7 @@ projects: # twitter: your_username # youtube: your_username # vk: your_username + # web: http://your_website topics: - name: CSS diff --git a/_data/social_media.yml b/_data/social_media.yml index 6aea1c32af..417ee84e50 100644 --- a/_data/social_media.yml +++ b/_data/social_media.yml @@ -52,3 +52,8 @@ vk: profile_url_prefix: https://vk.com/ share_url_prefix: https://vk.com/share.php?url= icon_svg: '' + +web: + name: Web Site + icon_svg: '' + From 879378043cec335f464fa19efa5381651c978cf5 Mon Sep 17 00:00:00 2001 From: Brandon Rosage Date: Mon, 25 Mar 2019 12:31:06 -0500 Subject: [PATCH 2/2] changed label to `website`; defined SVG --- _config.yml | 2 +- _data/social_media.yml | 7 +++---- _includes/masthead.html | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/_config.yml b/_config.yml index 9f6c7e5cbc..1c4891f51a 100644 --- a/_config.yml +++ b/_config.yml @@ -38,7 +38,7 @@ projects: # twitter: your_username # youtube: your_username # vk: your_username - # web: http://your_website + # website: http://your_website_url topics: - name: CSS diff --git a/_data/social_media.yml b/_data/social_media.yml index 417ee84e50..19dbfd7818 100644 --- a/_data/social_media.yml +++ b/_data/social_media.yml @@ -53,7 +53,6 @@ vk: share_url_prefix: https://vk.com/share.php?url= icon_svg: '' -web: - name: Web Site - icon_svg: '' - +website: + name: Website + icon_svg: '' diff --git a/_includes/masthead.html b/_includes/masthead.html index 9d56159b90..4736743e50 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 }}