-
Notifications
You must be signed in to change notification settings - Fork 327
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
This adds the mastodon fediverse icon as own option. #646
Conversation
Hmmm - I think we are actually moving away from these shortcuts so that we don't have a bunch of special-cases in there. Maybe instead you could just provide an example of how to add a mastadon button in the docs? |
Ah, ok. Thank you. Then I'll change my PR later to just add some information to the documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM if you're ready to go!
From my part, it would be ready. I thought about to add a possibility to add a What do you think? Would it be worth doing this in another PR? |
That is pretty cool - I hadn't heart about that before. Hmm, maybe the way to do this would be to support other key: val pairs in the icon links config, that would be added to the "a" anchor, and this could be used to add stuff like rel=me? |
I think, this would be the proper way to go. A configuration like this would be great:
If no |
I think that'd be fine as long as we don't imagine any other kinds of config being added to the "a" element. But if we do think other config would be added, we should just add a general extension mechanism for key: value pairs so that we don't grow the config surface area too much |
What do you think about something like additionalAttributes like TYPO3 Fluid template engine is using. The idea is to add additional attributes which have no own config field. E.g.
|
That sounds great to me 👍 |
I'll merge this one in as-is, and we can tackle custom attributes etc in a follow-up if you wish! |
This adds the mastodon icon as own option
mastodon_url
as Mastodon seems to get more popular now.Of course, this could be done already right now with