From b238593388178ae8bfd0fc2518beb5058d680fd4 Mon Sep 17 00:00:00 2001 From: garvv29 Date: Tue, 28 Apr 2026 15:51:06 +0530 Subject: [PATCH 1/2] Add share bar to blog posts - 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 --- partials/share_bar.html | 20 ++++++++++++++++++++ sass/_blog.scss | 29 +++++++++++++++++++++++++++++ templates/partials/share_bar.html | 22 ++++++++++++++++++++++ templates/post.html | 1 + 4 files changed, 72 insertions(+) create mode 100644 partials/share_bar.html create mode 100644 templates/partials/share_bar.html diff --git a/partials/share_bar.html b/partials/share_bar.html new file mode 100644 index 0000000000..3f65763b11 --- /dev/null +++ b/partials/share_bar.html @@ -0,0 +1,20 @@ + diff --git a/sass/_blog.scss b/sass/_blog.scss index 0ab2b5d1df..bb895757c4 100644 --- a/sass/_blog.scss +++ b/sass/_blog.scss @@ -149,3 +149,32 @@ h3 a { margin-right: 0.5rem; color: inherit; } + +.share-bar { + display: flex; + gap: 12px; + margin-top: 40px; + padding-top: 16px; + border-top: 1px solid #e5e5e5; + font-size: 14px; + flex-wrap: wrap; + + > span { + font-weight: 600; + } + + a { + text-decoration: none; + opacity: 0.8; + transition: opacity 0.2s ease; + + &:hover { + opacity: 1; + } + } + + @media (max-width: 767px) { + font-size: 12px; + gap: 8px; + } +} diff --git a/templates/partials/share_bar.html b/templates/partials/share_bar.html new file mode 100644 index 0000000000..a9236ecc0e --- /dev/null +++ b/templates/partials/share_bar.html @@ -0,0 +1,22 @@ + diff --git a/templates/post.html b/templates/post.html index 267c4335bc..dd52d54fc1 100644 --- a/templates/post.html +++ b/templates/post.html @@ -114,5 +114,6 @@

Post Contents

{% endif %} + {% include "partials/share_bar.html" %} {% endblock content %} From bca8281c6a2ac3c2ad20e1bc5a5d88e6c574c0b2 Mon Sep 17 00:00:00 2001 From: Kim Brose <2803622+HarHarLinks@users.noreply.github.com> Date: Tue, 28 Apr 2026 13:53:11 +0000 Subject: [PATCH 2/2] fix some links (#3381) Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com> --- content/foundation/governing-board-elections/2025/index.md | 4 ++-- content/foundation/governing-board-elections/2026/index.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/foundation/governing-board-elections/2025/index.md b/content/foundation/governing-board-elections/2025/index.md index f0154e984d..34797a416e 100644 --- a/content/foundation/governing-board-elections/2025/index.md +++ b/content/foundation/governing-board-elections/2025/index.md @@ -19,7 +19,7 @@ Read on for our [election schedule](#schedule), our current [elected representat ## What is the Governing Board -This page is focused on the 2025 election cycle. We encourage you to [learn more about the Governing Board itself here.](/foundation/governing-board/) +This page is focused on the 2025 election cycle. We encourage you to [learn more about the Governing Board itself here](/foundation/governing-board/). ## Schedule @@ -61,7 +61,7 @@ If you want to be a candidate in the election, there are a few things you should * You are encouraged to make yourself available for conversation with members of your constituency group. * The period for campaigning runs from May 17th to May 30th. Please note our [community Code of Conduct](/legal/code-of-conduct/) while campaigning. -For reference, you can find last year's nominations on our [2024 election center](/foundation/governing-board-elections/2024/) page. +For reference, you can find last year's nominations on our [2024 election centre](/foundation/governing-board-elections/2024/) page. ### Campaigning (May 17) diff --git a/content/foundation/governing-board-elections/2026/index.md b/content/foundation/governing-board-elections/2026/index.md index 6d9e5e87cf..79d3bef5a9 100644 --- a/content/foundation/governing-board-elections/2026/index.md +++ b/content/foundation/governing-board-elections/2026/index.md @@ -31,7 +31,7 @@ This page is focused on the 2026 election cycle. We encourage you to [learn more ### Announcement (27th April) -[We kickstarted the election process](@/blog/2026/04/2026-04-02-conference-announcement.md) in a blog post announcing the schedule, eligibility, and conditions of the vote. +[We kickstarted the election process](@/blog/2026/04/2026-04-27-election-announcement.md) in a blog post announcing the schedule, eligibility, and conditions of the vote. This year, we are running elections for the following [constituency groups](@/foundation/governing-board/index.md): @@ -95,7 +95,7 @@ there are a few things you should know: Please note our [community Code of Conduct](@/legal/code-of-conduct.md) while campaigning. -For reference, you can find previous years' nominations in our [election center](@/foundation/governing-board-elections/_index.md) pages. +For reference, you can find previous years' nominations in our [election centre](@/foundation/governing-board-elections/_index.md) pages. #### Expectations: what to consider before accepting a nomination