Skip to content

Commit 4a16beb

Browse files
authored
Merge pull request #154 from sproogen/google-scholar-pr
Google scholar pr
2 parents f36ebdd + 37c32ec commit 4a16beb

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

Diff for: _config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ pinterest_username: jekyll
3232
youtube_username: jekyll
3333
googleplus_username: +jekyll
3434
orcid_username: 0000-0000-0000-0000
35+
googlescholar_username: D847cGsAAAAJ
3536

3637
# Additional icon links
3738
additional_links:

Diff for: _includes/header.html

+7
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,13 @@ <h2>{{ site.title | escape }}</h2>
9797
</a>
9898
</li>
9999
{%- endif -%}
100+
{%- if site.googlescholar_username -%}
101+
<li>
102+
<a target="_blank" href="https://scholar.google.com/citations?user={{ site.googlescholar_username| escape }}" class="button button--sacnite button--round-l">
103+
<i class="fab fa-google" title="Google scholar link"></i>
104+
</a>
105+
</li>
106+
{%- endif -%}
100107
{% for link in site.additional_links %}
101108
<li>
102109
{% include a.html href=link.url class="button button--sacnite button--round-l" %}

Diff for: _test/_config-version-1.yml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pinterest_username: jekyll
2323
youtube_username: jekyll
2424
googleplus_username: +jekyll
2525
orcid_username: 0000-0000-0000-0000
26+
googlescholar_username: D847cGsAAAAJ
2627

2728
# Additional icon links
2829
additional_links:

Diff for: _test/_config-version-2.yml

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ pinterest_username: jekyll
3232
youtube_username: jekyll
3333
googleplus_username: +jekyll
3434
orcid_username: 0000-0000-0000-0000
35+
googlescholar_username: D847cGsAAAAJ
3536

3637
# Additional icon links
3738
additional_links:

0 commit comments

Comments
 (0)