minimal-mistakes
minimal-mistakes copied to clipboard
feat: add configurability which share links to present per post #1
This is an enhancement or feature.
Summary
This allows users to select (in _config.yml) via
share_on:
x: true
facebook: true
linkedin: true
bluesky: true
which social share links are displayed per post. Defaults are set to true, so that there should be no breakage for default installations.
Happy to work with your requirements and make changes as needed :)
Context
No, I was not sure if there is an issue category for feature requests. If this is not something you want in this project, we can still close the PR.
This might not work as intended. Liquid documentation:
default will show its value if the input is
nil,false, or empty.
So an explicitly specified site.share_on.x = false will cause the button to show instead.
Test your code to show I'm wrong.