From dc1589092f6a4de9d1ec00a42239d147a44def85 Mon Sep 17 00:00:00 2001 From: Andrew Dunning Date: Wed, 25 Apr 2018 16:03:37 -0400 Subject: [PATCH 1/5] Add ORCID support; make social links optional This adds ORCID to the social profiles allowed by default, and only shows links if they are included in the site configuration. --- _includes/social.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/_includes/social.html b/_includes/social.html index 4edb76d..4a7295c 100644 --- a/_includes/social.html +++ b/_includes/social.html @@ -1,11 +1,12 @@
- - - - - - + {%- if site.email -%}{%- endif -%} + {%- if site.orcid_id -%}{%- endif -%} + {%- if site.scholar_userid -%}{%- endif -%} + {%- if site.github_username -%}{%- endif -%} + {%- if site.linkedin_username -%}{%- endif -%} + {%- if site.twitter_username -%}{%- endif -%} + {%- if site.strava_userid -%}{%- endif -%}
From 500ad4c4be1344aa22ad7cf77bf66871ae0662c5 Mon Sep 17 00:00:00 2001 From: Andrew Dunning Date: Wed, 25 Apr 2018 16:14:37 -0400 Subject: [PATCH 2/5] Provide sample social profiles --- _config.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/_config.yml b/_config.yml index ea78d76..b99e34d 100644 --- a/_config.yml +++ b/_config.yml @@ -15,12 +15,13 @@ baseurl: /al-folio # the subpath of your site, e.g. /blog/ last_updated: # leave blank if you don't want to display last updated # ----------------------------------------------------------------------------- -# Social integration +# Social integration: modify for your profiles or delete # ----------------------------------------------------------------------------- -github_username: # put your github username -twitter_username: # put your twitter username -linkedin_username: # put your linkedin username -scholar_authorid: # put your google scholar author id +github_username: alshedivat +twitter_username: alshedivat +linkedin_username: alshedivat +scholar_userid: iUe4TdgAAAAJ +orcid_id: 0000-0001-9037-1005 contact_note: > You can even add a little note about which of these is the best way to reach you. @@ -76,8 +77,8 @@ highlighter: pygments # Includes include: ['_pages'] -# Gems -gems: +# Plug-ins +plugins: - jekyll-email-protect - jekyll-paginate - jekyll/scholar From b3ea2d91682eab155667c8c9c608b963087b15f2 Mon Sep 17 00:00:00 2001 From: Andrew Dunning Date: Wed, 25 Apr 2018 16:15:23 -0400 Subject: [PATCH 3/5] Fix whitespace --- _includes/social.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/_includes/social.html b/_includes/social.html index 4a7295c..3a0d0d3 100644 --- a/_includes/social.html +++ b/_includes/social.html @@ -1,12 +1,12 @@