Added a reusable share bar component for blog posts that includes multiple social sharing options.#3383
Open
garvv29 wants to merge 2 commits into
Open
Added a reusable share bar component for blog posts that includes multiple social sharing options.#3383garvv29 wants to merge 2 commits into
garvv29 wants to merge 2 commits into
Conversation
- Adds reusable share_bar partial with Mastodon, Bluesky, LinkedIn, Hacker News, Lobsters, and Reddit share links - Automatically populates post title and URL - Positioned at bottom of blog posts after Foundation CTA - Includes responsive styling for mobile devices - Uses security best practices with rel='noopener noreferrer' Signed-off-by: garvv29 <garv.choure2023@ssipmt.com>
Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com>
weeman1337
requested changes
Apr 30, 2026
Contributor
weeman1337
left a comment
There was a problem hiding this comment.
Please have a look at the comments.
Also your commits or the entire PR needs to be signed off, see here https://github.com/matrix-org/matrix.org/blob/main/CONTRIBUTING.md#sign-off
Contributor
There was a problem hiding this comment.
This PR seems to to more than only add the share bar. Can you please roll back unrelated changes?
| @@ -0,0 +1,22 @@ | |||
| <div class="share-bar"> | |||
Contributor
There was a problem hiding this comment.
This code seems to be duplicated inside of this PR. There is also partials/share_bar.html . Can you clean this up?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Added a reusable share bar component for blog posts that includes multiple social sharing options.
Changes made:
Created templates/partials/share_bar.html
Integrated share bar into templates/post.html
Added share links for Mastodon, Bluesky, LinkedIn, Hacker News, Lobsters, and Reddit
Automatically populates post title and URL
Positioned at the bottom of blog posts (after Foundation CTA)
Added responsive styling for mobile devices
Ensured security best practices using rel="noopener noreferrer"
Related issues
Closes #3321
Role
Contributing as an individual.
No affiliation with any organization related to this PR.
Timeline
No strict deadline. Review at your convenience.
Signoff
Please sign off your individual commits.
All commits are signed off in accordance with the contributing guidelines.