Skip to content

Commit

Permalink
Closes academicpages#271 with addition of arXiv
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzupkoii committed Feb 15, 2024
1 parent de655b0 commit aff73a8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ author:
uri :

# Manuscript repositories
arxiv : # "https://arxiv.org/" # Update with the correct link to your profile
googlescholar : "https://scholar.google.com/citations?user=PS_CX0AAAAAJ" # Update with the correct link to your profile
impactstory : # "https://profiles.impactstory.org/u/xxxx-xxxx-xxxx-xxxx"
pubmed : "https://www.ncbi.nlm.nih.gov/pubmed/?term=john+snow"
researchgate : # example: "https://www.researchgate.net/profile/yourprofile"

Expand All @@ -43,7 +45,6 @@ author:
goodreads :
google_plus :
keybase :
impactstory : # "https://profiles.impactstory.org/u/xxxx-xxxx-xxxx-xxxx"
instagram :
lastfm :
linkedin :
Expand Down
24 changes: 15 additions & 9 deletions _includes/author-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ <h3 class="author__name">{{ author.name }}</h3>
<div class="author__urls-wrapper">
<button class="btn btn--inverse">Follow</button>
<ul class="author__urls social-icons">
<!-- Font Awesome icons -->
{% if author.location %}
<li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li>
{% endif %}
Expand Down Expand Up @@ -110,15 +111,6 @@ <h3 class="author__name">{{ author.name }}</h3>
{% if author.googlescholar %}
<li><a href="{{ author.googlescholar }}"><i class="fas fa-fw fa-graduation-cap"></i> Google Scholar</a></li>
{% endif %}
{% if author.pubmed %}
<li><a href="{{ author.pubmed }}"><i class="ai ai-pubmed-square ai-fw"></i> PubMed</a></li>
{% endif %}
{% if author.orcid %}
<li><a href="{{ author.orcid }}"><i class="ai ai-orcid-square ai-fw"></i> ORCID</a></li>
{% endif %}
{% if author.impactstory %}
<li><a href="{{ author.impactstory }}"><i class="ai ai-impactstory ai-fw"></i> Impactstory</a></li>
{% endif %}
{% if author.wikipedia %}
<li><a href="https://en.wikipedia.org/wiki/User:{{ author.wikipedia }}"><i class="fab fa-fw fa-wikipedia-w" aria-hidden="true"></i> Wikipedia</a></li>
{% endif %}
Expand All @@ -131,6 +123,20 @@ <h3 class="author__name">{{ author.name }}</h3>
{% if author.kaggle %}
<li><a href="https://kaggle.com/{{ author.kaggle }}"><i class="fab fa-fw fa-kaggle" aria-hidden="true"></i> Kaggle</a></li>
{% endif %}

<!-- Academicons -->
{% if author.arxiv %}
<li><a href="{{ author.arxiv }}"><i class="ai ai-arxiv ai-fw"></i> arXiv</a></li>
{% endif %}
{% if author.impactstory %}
<li><a href="{{ author.impactstory }}"><i class="ai ai-impactstory ai-fw"></i> Impactstory</a></li>
{% endif %}
{% if author.orcid %}
<li><a href="{{ author.orcid }}"><i class="ai ai-orcid-square ai-fw"></i> ORCID</a></li>
{% endif %}
{% if author.pubmed %}
<li><a href="{{ author.pubmed }}"><i class="ai ai-pubmed-square ai-fw"></i> PubMed</a></li>
{% endif %}
</ul>
</div>
</div>

0 comments on commit aff73a8

Please sign in to comment.