Skip to content

Added a reusable share bar component for blog posts that includes multiple social sharing options.#3383

Open
garvv29 wants to merge 2 commits into
matrix-org:mainfrom
garvv29:main
Open

Added a reusable share bar component for blog posts that includes multiple social sharing options.#3383
garvv29 wants to merge 2 commits into
matrix-org:mainfrom
garvv29:main

Conversation

@garvv29
Copy link
Copy Markdown

@garvv29 garvv29 commented Apr 29, 2026

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.

garvv29 and others added 2 commits April 29, 2026 11:42
- 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>
@garvv29 garvv29 requested a review from a team as a code owner April 29, 2026 06:29
Copy link
Copy Markdown
Contributor

@weeman1337 weeman1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code seems to be duplicated inside of this PR. There is also partials/share_bar.html . Can you clean this up?

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.

Add a "Share Bar" at the bottom of posts to make it easy to share them on socials

3 participants