Skip to content

Commit 7410772

Browse files
authored
Add Semantic Scholar social integration (alshedivat#879)
1 parent 4d02d1c commit 7410772

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

_config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ gitlab_username: # your GitLab user name
7272
twitter_username: # your Twitter handle
7373
linkedin_username: # your LinkedIn user name
7474
scholar_userid: # your Google Scholar ID
75+
semanticscholar_id: # your Semantic Scholar ID
7576
orcid_id: # your ORCID ID
7677
medium_username: # your Medium username
7778
quora_username: # your Quora username

_includes/metadata.html

+4
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@
7171
{%- capture link -%}https://scholar.google.com/citations?user={{ site.scholar_userid }}{%- endcapture -%}
7272
{%- assign sameaslinks = sameaslinks | push: link -%}
7373
{%- endif -%}
74+
{%- if site.semanticscholar_id -%}
75+
{%- capture link -%}https://www.semanticscholar.org/author/{{ site.semanticscholar_id }}{%- endcapture -%}
76+
{%- assign sameaslinks = sameaslinks | push: link -%}
77+
{%- endif -%}
7478
{%- if site.publons_id -%}
7579
{%- capture link -%}https://publons.com/a/{{ site.publons_id }}/{%- endcapture -%}
7680
{%- assign sameaslinks = sameaslinks | push: link -%}

_includes/social.html

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
{%- if site.scholar_userid -%}
88
<a href="https://scholar.google.com/citations?user={{ site.scholar_userid }}" title="Google Scholar"><i class="ai ai-google-scholar"></i></a>
99
{% endif %}
10+
{%- if site.semanticscholar_id -%}
11+
<a href="https://www.semanticscholar.org/author/{{ site.semanticscholar_id }}" title="Semantic Scholar"><i class="ai ai-semantic-scholar"></i></a>
12+
{% endif %}
1013
{%- if site.publons_id -%}
1114
<a href="https://publons.com/a/{{ site.publons_id }}/" title="Publons"><i class="ai ai-publons"></i></a>
1215
{% endif %}

0 commit comments

Comments
 (0)