Skip to content

Commit

Permalink
Add Mastodon to social media
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzupkoii committed Feb 15, 2024
1 parent f4cf0ae commit da9dba1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _includes/author-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ <h3 class="author__name">{{ author.name }}</h3>
{% if author.twitter %}
<li><a href="https://twitter.com/{{ author.twitter }}"><i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
{% endif %}
{% if author.mastodon %}
<li><a href="{{ author.mastodon }}"><i class="fab fa-fw fa-mastodon" aria-hidden="true"></i> Mastodon</a></li>
{% endif %}
{% if author.facebook %}
<li><a href="https://www.facebook.com/{{ author.facebook }}"><i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li>
{% endif %}
Expand Down
5 changes: 5 additions & 0 deletions _sass/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,11 @@ body:hover .visually-hidden button {
color: $linkedin-color;
}

.fa-mastodon,
.fa-mastodon-square {
color: $mastodon-color;
}

.ai-orcid-square {
color: $orcid-color;
}
Expand Down
1 change: 1 addition & 0 deletions _sass/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ $google-plus-color : #dd4b39;
$instagram-color : #517fa4;
$lastfm-color : #d51007;
$linkedin-color : #007bb6;
$mastodon-color : #6364ff;
$orcid-color : #a6ce39;
$pinterest-color : #cb2027;
$rss-color : #fa9b39;
Expand Down

0 comments on commit da9dba1

Please sign in to comment.