Skip to content

Commit 2892bad

Browse files
committed
Add support for Mastodon
The `rel="me"` attribute is added to the link so that the landing page can be verified by Mastodon by simply adding the link to your profile.
1 parent e5915a1 commit 2892bad

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ instagram_username : ebaehr
2929
twitter_username : ebaehr
3030
github_username : emilbaehr
3131
youtube_username :
32+
mastodon_link : https://mastodon.social/@ebaehr
3233

3334

3435

_includes/footer.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@
3131
</a>
3232
{% endif %}
3333

34+
{% if site.mastodon_link %}
35+
<a rel="me" href="{{ site.mastodon_link }}">
36+
<span class="fa-stack fa-1x">
37+
<i class="socialIconBack fas fa-circle fa-stack-2x"></i>
38+
<i class="socialIconTop fab fa-mastodon fa-stack-1x"></i>
39+
</span>
40+
</a>
41+
{% endif %}
42+
3443
{% if site.github_username %}
3544
<a href="https://github.com/{{ site.github_username }}">
3645
<span class="fa-stack fa-1x">

0 commit comments

Comments
 (0)