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

replace twitter by mastodon #59

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

gerritholl
Copy link
Member

Remove all references to twitter (which ceased to exist in 2023) and link to mastodon accounts instead.

@gerritholl
Copy link
Member Author

I could not test this locally, see #60. I tried to go by https://github.com/autinerd/simple-mastodon-follow-button but was not sure where to put the HTML header code — in _includes/ or _layout/ or somewhere else? Or maybe this is not needed and social network links are directly supported in minima? But this does not match what we have today in _config.yml:

minima:
skin: dark
social_links:
- { platform: twitter, user_url: "https://twitter.com/pytrollorg" }
- { platform: github, user_url: "https://github.com/pytroll" }

So I'm a bit confused.

@djhoese
Copy link
Member

djhoese commented Jan 10, 2025

It looks like mastadon was added to minima 2.4 in jekyll/minima#198 in 2018. It wasn't added to the README for minima until recently so people didn't know the support existed.

I tried taking the current deployment and editing the SVG used for the twitter icon at the bottom of the main page and making it use mastadon instead but it looks like minima might bundle specific social media icons into the SVG at build time as there were only twitter, github, and RSS in the SVG image.

I also tried taking your mastadon <button and using browser developer tools to dump it into the page but I couldn't get it to work. I don't know if this is expected or not. I wonder if there is a minima-friendly way to repeat the social media icon(s) in another part of the home page/template.
I'm

@gerritholl
Copy link
Member Author

The comment appears to be interrupted. Did you mean to write another paragraph, or is the final hanging I'm a mistake?

@djhoese
Copy link
Member

djhoese commented Jan 30, 2025

I wonder if I had started another paragraph and then ended up adding the information in my previous paragraphs...no idea what I was trying to say.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants