Skip to content

Commit 5cd3097

Browse files
committed
#244, #1600, #1917 update font awesome to v6, add icons
1 parent 793cfc6 commit 5cd3097

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+6136
-7668
lines changed

_config.yml

Lines changed: 48 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -15,53 +15,60 @@ url : https://academicpages.github.io # the base hostname &
1515
baseurl : "" # the subpath of your site, e.g. "/blog"
1616
repository : "academicpages/academicpages.github.io"
1717

18-
# Site Author
18+
# Site Author - The following control what appear as part of the author content on the side bar.
19+
# If a field is blank the icon and link will not appear, otherwise it will be shown.
20+
# Additional customization can be done by editing /_includes/author-profile.html
1921
author:
20-
name : "Your Sidebar Name"
22+
# Biographic information
2123
avatar : "profile.png"
22-
bio : "Your biography for the left-hand sidebar"
23-
pronouns : # example: "she/her"
24-
location : "Location"
24+
name : "Your Sidebar Name"
25+
pronouns : # example: "she/her"
26+
bio : "Short biography for the left-hand sidebar"
27+
location : "Earth"
28+
employer : "Red Brick University"
29+
uri : # URL
30+
email : "[email protected]"
31+
32+
# Academic websites
33+
arxiv : # URL - Update with the correct link to your profile
34+
googlescholar : "https://scholar.google.com/citations?user=PS_CX0AAAAAJ"
35+
impactstory : # URL
2536
orcid : "http://orcid.org/yourorcidurl"
26-
employer :
27-
email :
28-
uri :
29-
30-
# Manuscript repositories
31-
arxiv : # "https://arxiv.org/" # Update with the correct link to your profile
32-
googlescholar : "https://scholar.google.com/citations?user=PS_CX0AAAAAJ" # Update with the correct link to your profile
33-
impactstory : # "https://profiles.impactstory.org/u/xxxx-xxxx-xxxx-xxxx"
3437
pubmed : "https://www.ncbi.nlm.nih.gov/pubmed/?term=john+snow"
35-
researchgate : # example: "https://www.researchgate.net/profile/yourprofile"
38+
researchgate : # URL
3639

37-
# Social media
38-
bitbucket :
39-
codepen :
40-
dribbble :
41-
facebook :
42-
flickr :
43-
foursquare :
40+
# Repositories and software development
41+
bitbucket : # Username - Update with your username on the site
42+
codepen : # Username
43+
dribbble : # Username
4444
github : "academicpages"
45-
goodreads :
46-
google_plus :
47-
keybase :
48-
instagram :
49-
lastfm :
50-
linkedin :
51-
kaggle : # "kaggleusername"
52-
mastodon : "mastodonhandle"
53-
medium : # "add medium profile url here"
54-
pinterest :
55-
soundcloud :
56-
stackoverflow : # http://stackoverflow.com/users/123456/username
57-
steam :
58-
tumblr :
59-
twitter : "replacethistwitterhandle"
60-
vine :
61-
weibo :
62-
wikipedia :
63-
xing :
64-
youtube :
45+
kaggle : # Username
46+
stackoverflow : # Username
47+
48+
# Social media
49+
bluesky : "bsky.app" # Replace this with you Bluesky username
50+
facebook : # Username
51+
flickr : # Username
52+
foursquare : # Username
53+
goodreads : # Username
54+
google_plus : # Username
55+
keybase : # Username
56+
instagram : # Username
57+
lastfm : # Username
58+
linkedin : # Username
59+
mastodon : # URL
60+
medium : # URL
61+
pinterest : # Username
62+
soundcloud : # Username
63+
steam : # Username
64+
telegram : # URL
65+
tumblr : # Username
66+
twitter : "UniofOxford" # Replace this with your X / Twitter handle
67+
vine : # Username
68+
weibo : # Username
69+
wikipedia : # Username
70+
xing : # Username
71+
youtube : # Username
6572

6673

6774
# Site Settings

_includes/author-profile.html

Lines changed: 83 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -23,119 +23,129 @@ <h3 class="author__name">{{ author.name }}</h3>
2323
<div class="author__urls-wrapper">
2424
<button class="btn btn--inverse">Follow</button>
2525
<ul class="author__urls social-icons">
26-
<!-- Font Awesome icons -->
26+
<!-- Font Awesome icons / Biographic information -->
2727
{% if author.location %}
28-
<li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li>
28+
<li><i class="fa-solid fa-location-dot" aria-hidden="true"></i> {{ author.location }}</li>
2929
{% endif %}
3030
{% if author.employer %}
31-
<li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.employer }}</li>
31+
<li><i class="fa fa-solid fa-building-columns" aria-hidden="true"></i> {{ author.employer }}</li>
3232
{% endif %}
3333
{% if author.uri %}
3434
<li><a href="{{ author.uri }}"><i class="fas fa-fw fa-link" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}</a></li>
3535
{% endif %}
3636
{% if author.email %}
3737
<li><a href="mailto:{{ author.email }}"><i class="fas fa-fw fa-envelope" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}</a></li>
3838
{% endif %}
39-
{% if author.keybase %}
40-
<li><a href="https://keybase.io/{{ author.keybase }}"><i class="fas fa-fw fa-key" aria-hidden="true"></i> Keybase</a></li>
41-
{% endif %}
42-
{% if author.researchgate %}
43-
<li><a href="{{ author.researchgate }}"><i class="fab fa-fw fa-researchgate" aria-hidden="true"></i> ResearchGate</a></li>
44-
{% endif %}
45-
{% if author.twitter %}
46-
<li><a href="https://twitter.com/{{ author.twitter }}"><i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
47-
{% endif %}
48-
{% if author.mastodon %}
49-
<li><a href="{{ author.mastodon }}"><i class="fab fa-fw fa-mastodon" aria-hidden="true"></i> Mastodon</a></li>
39+
40+
<!-- Font Awesome and Academicons icons / Academic websites -->
41+
{% if author.arxiv %}
42+
<li><a href="{{ author.arxiv }}"><i class="ai ai-arxiv ai-fw"></i> arXiv</a></li>
5043
{% endif %}
51-
{% if author.facebook %}
52-
<li><a href="https://www.facebook.com/{{ author.facebook }}"><i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li>
53-
{% endif %}
54-
{% if author.google_plus %}
55-
<li><a href="https://plus.google.com/+{{ author.google_plus }}"><i class="fab fa-fw fa-google-plus" aria-hidden="true"></i> Google+</a></li>
56-
{% endif %}
57-
{% if author.linkedin %}
58-
<li><a href="https://www.linkedin.com/in/{{ author.linkedin }}"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i> LinkedIn</a></li>
44+
{% if author.googlescholar %}
45+
<li><a href="{{ author.googlescholar }}"><i class="fas fa-fw fa-graduation-cap"></i> Google Scholar</a></li>
5946
{% endif %}
60-
{% if author.xing %}
61-
<li><a href="https://www.xing.com/profile/{{ author.xing }}"><i class="fab fa-fw fa-xing-square" aria-hidden="true"></i> XING</a></li>
47+
{% if author.impactstory %}
48+
<li><a href="{{ author.impactstory }}"><i class="ai ai-impactstory ai-fw"></i> Impactstory</a></li>
6249
{% endif %}
63-
{% if author.instagram %}
64-
<li><a href="https://instagram.com/{{ author.instagram }}"><i class="fab fa-fw fa-instagram" aria-hidden="true"></i> Instagram</a></li>
50+
{% if author.orcid %}
51+
<li><a href="{{ author.orcid }}"><i class="ai ai-orcid-square ai-fw"></i> ORCID</a></li>
6552
{% endif %}
66-
{% if author.tumblr %}
67-
<li><a href="https://{{ author.tumblr }}.tumblr.com"><i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr</a></li>
53+
{% if author.pubmed %}
54+
<li><a href="{{ author.pubmed }}"><i class="ai ai-pubmed-square ai-fw"></i> PubMed</a></li>
55+
{% endif %}
56+
{% if author.researchgate %}
57+
<li><a href="{{ author.researchgate }}"><i class="fab fa-fw fa-researchgate" aria-hidden="true"></i> ResearchGate</a></li>
6858
{% endif %}
59+
60+
<!-- Font Awesome icons / Repositories and software development -->
6961
{% if author.bitbucket %}
7062
<li><a href="https://bitbucket.org/{{ author.bitbucket }}"><i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
7163
{% endif %}
64+
{% if author.codepen %}
65+
<li><a href="https://codepen.io/{{ author.codepen }}"><i class="fab fa-fw fa-codepen" aria-hidden="true"></i> CodePen</a></li>
66+
{% endif %}
67+
{% if author.dribbble %}
68+
<li><a href="https://dribbble.com/{{ author.dribbble }}"><i class="fab fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble</a></li>
69+
{% endif %}
7270
{% if author.github %}
7371
<li><a href="https://github.com/{{ author.github }}"><i class="fab fa-fw fa-github" aria-hidden="true"></i> Github</a></li>
7472
{% endif %}
73+
{% if author.kaggle %}
74+
<li><a href="https://kaggle.com/{{ author.kaggle }}"><i class="fab fa-fw fa-kaggle" aria-hidden="true"></i> Kaggle</a></li>
75+
{% endif %}
7576
{% if author.stackoverflow %}
7677
<li><a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}"><i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i> Stackoverflow</a></li>
78+
{% endif %}
79+
80+
<!-- Font Awesome icons / Social media -->
81+
{% if author.bluesky %}
82+
<li><a href="https://bsky.app/profile/{{ author.bluesky }}"><i class="fa-solid fa-square" style="color: #1184fe" aria-hidden="true"></i> Bluesky</a></li>
7783
{% endif %}
78-
{% if author.lastfm %}
79-
<li><a href="https://lastfm.com/user/{{ author.lastfm }}"><i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm</a></li>
80-
{% endif %}
81-
{% if author.dribbble %}
82-
<li><a href="https://dribbble.com/{{ author.dribbble }}"><i class="fab fa-fw fa-dribbble-square" aria-hidden="true"></i> Dribbble</a></li>
83-
{% endif %}
84-
{% if author.pinterest %}
85-
<li><a href="https://www.pinterest.com/{{ author.pinterest }}"><i class="fab fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest</a></li>
84+
{% if author.facebook %}
85+
<li><a href="https://www.facebook.com/{{ author.facebook }}"><i class="fab fa-fw fa-facebook-f" aria-hidden="true"></i> Facebook</a></li>
8686
{% endif %}
87+
{% if author.flickr %}
88+
<li><a href="https://www.flickr.com/{{ author.flickr }}"><i class="fab fa-fw fa-flickr" aria-hidden="true"></i> Flickr</a></li>
89+
{% endif %}
8790
{% if author.foursquare %}
8891
<li><a href="https://foursquare.com/{{ author.foursquare }}"><i class="fab fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare</a></li>
8992
{% endif %}
90-
{% if author.steam %}
91-
<li><a href="https://steamcommunity.com/id/{{ author.steam }}"><i class="fab fa-fw fa-steam-square" aria-hidden="true"></i> Steam</a></li>
93+
{% if author.goodreads %}
94+
<li><a href="https://www.goodreads.com/{{ author.goodreads }}"><i class="fab fa-fw fa-goodreads" aria-hidden="true"></i> Goodreads</a></li>
95+
{% endif %}
96+
{% if author.google_plus %}
97+
<li><a href="https://plus.google.com/+{{ author.google_plus }}"><i class="fab fa-fw fa-google-plus-g" aria-hidden="true"></i> Google+</a></li>
98+
{% endif %}
99+
{% if author.keybase %}
100+
<li><a href="https://keybase.io/{{ author.keybase }}"><i class="fas fa-fw fa-key" aria-hidden="true"></i> Keybase</a></li>
92101
{% endif %}
93-
{% if author.youtube %}
94-
<li><a href="https://www.youtube.com/user/{{ author.youtube }}"><i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube</a></li>
102+
{% if author.instagram %}
103+
<li><a href="https://instagram.com/{{ author.instagram }}"><i class="fab fa-fw fa-instagram" aria-hidden="true"></i> Instagram</a></li>
104+
{% endif %}
105+
{% if author.lastfm %}
106+
<li><a href="https://lastfm.com/user/{{ author.lastfm }}"><i class="fab fa-fw fa-lastfm" aria-hidden="true"></i> Last.fm</a></li>
107+
{% endif %}
108+
{% if author.linkedin %}
109+
<li><a href="https://www.linkedin.com/in/{{ author.linkedin }}"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i> LinkedIn</a></li>
110+
{% endif %}
111+
{% if author.mastodon %}
112+
<li><a href="{{ author.mastodon }}"><i class="fab fa-fw fa-mastodon" aria-hidden="true"></i> Mastodon</a></li>
95113
{% endif %}
114+
{% if author.medium %}
115+
<li><a href="{{ author.medium }}"><i class="fab fa-fw fa-medium" aria-hidden="true"></i> Medium</a></li>
116+
{% endif %}
117+
{% if author.pinterest %}
118+
<li><a href="https://www.pinterest.com/{{ author.pinterest }}"><i class="fab fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest</a></li>
119+
{% endif %}
96120
{% if author.soundcloud %}
97121
<li><a href="https://soundcloud.com/{{ author.soundcloud }}"><i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i> Soundcloud</a></li>
122+
{% endif %}
123+
{% if author.steam %}
124+
<li><a href="https://steamcommunity.com/id/{{ author.steam }}"><i class="fab fa-fw fa-steam" aria-hidden="true"></i> Steam</a></li>
98125
{% endif %}
99-
{% if author.weibo %}
100-
<li><a href="https://www.weibo.com/{{ author.weibo }}"><i class="fab fa-fw fa-weibo" aria-hidden="true"></i> Weibo</a></li>
101-
{% endif %}
102-
{% if author.flickr %}
103-
<li><a href="https://www.flickr.com/{{ author.flickr }}"><i class="fab fa-fw fa-flickr" aria-hidden="true"></i> Flickr</a></li>
104-
{% endif %}
105-
{% if author.codepen %}
106-
<li><a href="https://codepen.io/{{ author.codepen }}"><i class="fab fa-fw fa-codepen" aria-hidden="true"></i> CodePen</a></li>
126+
{% if author.telegram %}
127+
<li><a href="{{ author.telegram }}"><i class="fab fa-fw fa-telegram" aria-hidden="true"></i> Telegram</a></li>
128+
{% endif %}
129+
{% if author.tumblr %}
130+
<li><a href="https://{{ author.tumblr }}.tumblr.com"><i class="fab fa-fw fa-tumblr" aria-hidden="true"></i> Tumblr</a></li>
131+
{% endif %}
132+
{% if author.twitter %}
133+
<li><a href="https://twitter.com/{{ author.twitter }}"><i class="fab fa-fw fa-x-twitter" aria-hidden="true"></i> X (formerly Twitter)</a></li>
107134
{% endif %}
108135
{% if author.vine %}
109136
<li><a href="https://vine.co/u/{{ author.vine }}"><i class="fab fa-fw fa-vine" aria-hidden="true"></i> Vine</a></li>
110-
{% endif %}
111-
{% if author.googlescholar %}
112-
<li><a href="{{ author.googlescholar }}"><i class="fas fa-fw fa-graduation-cap"></i> Google Scholar</a></li>
137+
{% endif %}
138+
{% if author.weibo %}
139+
<li><a href="https://www.weibo.com/{{ author.weibo }}"><i class="fab fa-fw fa-weibo" aria-hidden="true"></i> Weibo</a></li>
113140
{% endif %}
114141
{% if author.wikipedia %}
115142
<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>
143+
{% endif %}
144+
{% if author.xing %}
145+
<li><a href="https://www.xing.com/profile/{{ author.xing }}"><i class="fab fa-fw fa-xing" aria-hidden="true"></i> XING</a></li>
116146
{% endif %}
117-
{% if author.goodreads %}
118-
<li><a href="https://www.goodreads.com/{{ author.goodreads }}"><i class="fab fa-fw fa-goodreads" aria-hidden="true"></i> Goodreads</a></li>
119-
{% endif %}
120-
{% if author.medium %}
121-
<li><a href="{{ author.medium }}"><i class="fab fa-fw fa-medium" aria-hidden="true"></i> Medium</a></li>
122-
{% endif %}
123-
{% if author.kaggle %}
124-
<li><a href="https://kaggle.com/{{ author.kaggle }}"><i class="fab fa-fw fa-kaggle" aria-hidden="true"></i> Kaggle</a></li>
125-
{% endif %}
126-
127-
<!-- Academicons -->
128-
{% if author.arxiv %}
129-
<li><a href="{{ author.arxiv }}"><i class="ai ai-arxiv ai-fw"></i> arXiv</a></li>
130-
{% endif %}
131-
{% if author.impactstory %}
132-
<li><a href="{{ author.impactstory }}"><i class="ai ai-impactstory ai-fw"></i> Impactstory</a></li>
133-
{% endif %}
134-
{% if author.orcid %}
135-
<li><a href="{{ author.orcid }}"><i class="ai ai-orcid-square ai-fw"></i> ORCID</a></li>
136-
{% endif %}
137-
{% if author.pubmed %}
138-
<li><a href="{{ author.pubmed }}"><i class="ai ai-pubmed-square ai-fw"></i> PubMed</a></li>
147+
{% if author.youtube %}
148+
<li><a href="https://www.youtube.com/user/{{ author.youtube }}"><i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube</a></li>
139149
{% endif %}
140150
</ul>
141151
</div>

_sass/_syntax.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ div.highlighter-rouge, figure.highlight {
1919
padding: 0.5em;
2020
background-color: $lighter-gray;
2121
content: "\f121";
22-
font-family: "Font Awesome 5 Free" !important;
22+
font-family: "Font Awesome 6 Free" !important;
2323
font-size: $type-size-6;
2424
line-height: 1;
2525
text-transform: none;

_sass/_utilities.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,11 @@ body:hover .visually-hidden button {
186186
color: #000;
187187
}
188188

189+
.fa-bluesky,
190+
.fa-bluesky-square {
191+
color: $bluesky-color;
192+
}
193+
189194
.fa-behance,
190195
.fa-behance-square {
191196
color: $behance-color;

_sass/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ $info-color : #52adc8;
6868

6969
/* brands */
7070
$behance-color : #1769FF;
71+
$bluesky-color : #1184fe;
7172
$dribbble-color : #ea4c89;
7273
$facebook-color : #3b5998;
7374
$flickr-color : #ff0084;

0 commit comments

Comments
 (0)