Skip to content

Commit

Permalink
Added Mastodon to social (alshedivat#974)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunovianna authored and davidsroth committed Dec 19, 2022
1 parent 261069f commit e678473
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ og_image: # The site-wide (default for all links) Open Graph preview image
github_username: davidsroth
gitlab_username: # your GitLab user name
twitter_username: # your Twitter handle
mastodon_username: # your mastodon username
mastodon_instance: # your mastodon instance
linkedin_username: david-s-roth
scholar_userid: # your Google Scholar ID
semanticscholar_id: # your Semantic Scholar ID
Expand Down
3 changes: 3 additions & 0 deletions _includes/social.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
{%- if site.twitter_username -%}
<a href="https://twitter.com/{{ site.twitter_username }}" title="Twitter"><i class="fab fa-twitter"></i></a>
{% endif %}
{%- if site.mastodon_instance and site.mastodon_username -%}
<a rel="me" href="https://{{ site.mastodon_instance }}/@{{site.mastodon_username}}" title="Mastodon"><i class="fab fa-mastodon"></i></a>
{% endif %}
{%- if site.medium_username -%}
<a href="https://medium.com/@{{ site.medium_username }}" title="Medium"><i class="fab fa-medium"></i></a>
{% endif %}
Expand Down

0 comments on commit e678473

Please sign in to comment.