Added Mastodon to social (#974)

This commit is contained in:
bruno vianna 2022-11-11 01:56:27 +01:00 committed by GitHub
parent 7172df0877
commit 576e7b0541
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -70,6 +70,8 @@ og_image: # The site-wide (default for all links) Open Graph preview image
github_username: # your GitHub user name
gitlab_username: # your GitLab user name
twitter_username: # your Twitter handle
mastodon_username: # your mastodon username
mastodon_instance: # your mastodon instance
linkedin_username: # your LinkedIn user name
scholar_userid: # your Google Scholar ID
semanticscholar_id: # your Semantic Scholar ID

View File

@ -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 %}