Merge pull request #14 from adunning/patch-1
Add ORCID support; make social links optional
This commit is contained in:
commit
923d9ec753
13
_config.yml
13
_config.yml
|
|
@ -17,10 +17,11 @@ last_updated: # leave blank if you don't want to display last updated
|
|||
# -----------------------------------------------------------------------------
|
||||
# Social integration
|
||||
# -----------------------------------------------------------------------------
|
||||
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: # your GitHub user name
|
||||
twitter_username: # your Twitter handle
|
||||
linkedin_username: # your LinkedIn user name
|
||||
scholar_userid: # your Google Scholar ID
|
||||
orcid_id: # your ORCID ID
|
||||
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
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
<div class="social">
|
||||
<span class="contacticon center">
|
||||
<a href="mailto:{{ site.email | encode_email }}"><i class="fas fa-envelope"></i></a>
|
||||
<a href="https://scholar.google.com/citations?user={{ site.scholar_userid }}" target="_blank" title="Google Scholar"><i class="ai ai-google-scholar"></i></a>
|
||||
<a href="https://github.com/{{ site.github_username }}" target="_blank" title="GitHub"><i class="fab fa-github"></i></a>
|
||||
<a href="https://www.linkedin.com/in/{{ site.linkedin_username }}" target="_blank" title="LinkedIn"><i class="fab fa-linkedin"></i></a>
|
||||
<a href="https://twitter.com/{{ site.twitter_username }}" target="_blank" title="Twitter"><i class="fab fa-twitter"></i></a>
|
||||
<a href="https://www.strava.com/athletes/{{ site.strava_userid }}" target="_blank" title="Strava"><i class="fab fa-strava"></i></a>
|
||||
{% if site.orcid_id %}<a href="https://orcid.org/{{ site.orcid_id }}" target="_blank" title="ORCID"><i class="ai ai-orcid"></i></a>{% endif %}
|
||||
{% if site.scholar_userid %}<a href="https://scholar.google.com/citations?user={{ site.scholar_userid }}" target="_blank" title="Google Scholar"><i class="ai ai-google-scholar"></i></a>{% endif %}
|
||||
{% if site.github_username %}<a href="https://github.com/{{ site.github_username }}" target="_blank" title="GitHub"><i class="fab fa-github"></i></a>{% endif %}
|
||||
{% if site.linkedin_username %}<a href="https://www.linkedin.com/in/{{ site.linkedin_username }}" target="_blank" title="LinkedIn"><i class="fab fa-linkedin"></i></a>{% endif %}
|
||||
{% if site.twitter_username %}<a href="https://twitter.com/{{ site.twitter_username }}" target="_blank" title="Twitter"><i class="fab fa-twitter"></i></a>{% endif %}
|
||||
{% if site.strava_userid %}<a href="https://www.strava.com/athletes/{{ site.strava_userid }}" target="_blank" title="Strava"><i class="fab fa-strava"></i></a>{% endif %}
|
||||
</span>
|
||||
|
||||
<div class="col three caption">
|
||||
|
|
|
|||
Loading…
Reference in New Issue