Skip to content

Commit 01381db

Browse files
committed
Supports links to Mastodon
Adds a link to Mastodon in the footer. This can be configured in the same way as the existing icons for github, twitter, etc...
1 parent 3855689 commit 01381db

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ footer-links:
3434
youtube: # channel/<your_long_string> or user/<user-name>
3535
googleplus: # anything in your profile username that comes after plus.google.com/
3636
playconsole:
37-
37+
mastodon: # <your-mastodon-instance>/@<your-user-name> eg. fosstodon.org/@username
3838

3939
# Enter your Disqus shortname (not your username) to enable commenting on posts
4040
# You can find your shortname on the Settings page of your Disqus account

_includes/svg-icons.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212
{% if site.footer-links.youtube %}<a href="https://youtube.com/{{ site.footer-links.youtube }}"><i class="svg-icon youtube"></i></a>{% endif %}
1313
{% if site.footer-links.googleplus %}<a href="https://plus.google.com/{{ site.footer-links.googleplus }}"><i class="svg-icon googleplus"></i></a>{% endif %}
1414
{% if site.footer-links.playconsole %}<a href="https://play.google.com/store/apps/dev?id={{ site.footer-links.playconsole }}"><i class="svg-icon playconsole"></i></a>{% endif %}
15+
{% if site.footer-links.mastodon %}<a rel="me" href="https://{{ site.footer-links.mastodon }}"><i class="svg-icon mastodon"></i></a>{% endif %}

0 commit comments

Comments
 (0)