Skip to content

Commit 066dc22

Browse files
committed
Add Mastodon to social media
1 parent 655d2db commit 066dc22

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

_includes/author-profile.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ <h3 class="author__name">{{ author.name }}</h3>
4444
{% if author.twitter %}
4545
<li><a href="https://twitter.com/{{ author.twitter }}"><i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
4646
{% endif %}
47+
{% if author.mastodon %}
48+
<li><a href="{{ author.mastodon }}"><i class="fab fa-fw fa-mastodon" aria-hidden="true"></i> Mastodon</a></li>
49+
{% endif %}
4750
{% if author.facebook %}
4851
<li><a href="https://www.facebook.com/{{ author.facebook }}"><i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li>
4952
{% endif %}

_sass/_utilities.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,11 @@ body:hover .visually-hidden button {
233233
color: $linkedin-color;
234234
}
235235

236+
.fa-mastodon,
237+
.fa-mastodon-square {
238+
color: $mastodon-color;
239+
}
240+
236241
.ai-orcid-square {
237242
color: $orcid-color;
238243
}

_sass/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ $google-plus-color : #dd4b39;
7777
$instagram-color : #517fa4;
7878
$lastfm-color : #d51007;
7979
$linkedin-color : #007bb6;
80+
$mastodon-color : #6364ff;
8081
$orcid-color : #a6ce39;
8182
$pinterest-color : #cb2027;
8283
$rss-color : #fa9b39;

0 commit comments

Comments
 (0)