Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to add mastodon to the social media? #973

Closed
brunovianna opened this issue Nov 10, 2022 · 2 comments · Fixed by #974
Closed

Is it possible to add mastodon to the social media? #973

brunovianna opened this issue Nov 10, 2022 · 2 comments · Fixed by #974

Comments

@brunovianna
Copy link
Contributor

It would be nice to have the icon and link to mastodon, together with the verification code snippet.
This is how Minima implemented it:
jekyll/minima@81b14fc

@dxvidmr
Copy link

dxvidmr commented Nov 10, 2022

This is how I made it, for anyone that wants to add Mastodon:

Add this in _includes\social.html:

{% if site.mastodon_username -%}
<a href="https://yourinstance/@{{ site.mastodon_username }}" title="Mastodon"><i class="fab fa-mastodon"></i></a>
{% endif %}

And this in _config.yml in the # Social integration section:

mastodon_username: yourusername #without the @

@brunovianna
Copy link
Contributor Author

brunovianna commented Nov 10, 2022 via email

@alshedivat alshedivat linked a pull request Nov 11, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants