minimal-mistakes icon indicating copy to clipboard operation
minimal-mistakes copied to clipboard

feat: add configurability which share links to present per post #1

Open cschwartz opened this issue 6 months ago • 1 comments
trafficstars

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.

cschwartz avatar May 17 '25 07:05 cschwartz

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.

iBug avatar Jun 15 '25 16:06 iBug