Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/foundation/governing-board-elections/2025/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions content/foundation/governing-board-elections/2026/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):

Expand Down Expand Up @@ -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

Expand Down
20 changes: 20 additions & 0 deletions partials/share_bar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<div class="share-bar">
<span>Share:</span>

{% set encoded_url = page.permalink | urlencode %}
{% set encoded_title = page.title | urlencode %}

{% set share_text = (page.title ~ " by @matrix@mastodon.matrix.org " ~ page.permalink) | urlencode %}

<a href="https://share.joinmastodon.org/?text={{ share_text }}" target="_blank" rel="noopener noreferrer">Mastodon</a>

<a href="https://bsky.app/intent/compose?text={{ share_text }}" target="_blank" rel="noopener noreferrer">Bluesky</a>

<a href="https://www.linkedin.com/sharing/share-offsite/?url={{ encoded_url }}" target="_blank" rel="noopener noreferrer">LinkedIn</a>

<a href="https://news.ycombinator.com/submitlink?u={{ encoded_url }}&t={{ encoded_title }}" target="_blank" rel="noopener noreferrer">Hacker News</a>

<a href="https://lobste.rs/stories/new?url={{ encoded_url }}&title={{ encoded_title }}" target="_blank" rel="noopener noreferrer">Lobsters</a>

<a href="https://www.reddit.com/submit?url={{ encoded_url }}&title={{ encoded_title }}" target="_blank" rel="noopener noreferrer">Reddit</a>
</div>
29 changes: 29 additions & 0 deletions sass/_blog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
22 changes: 22 additions & 0 deletions templates/partials/share_bar.html
Original file line number Diff line number Diff line change
@@ -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?

<span>Share:</span>

{% set full_url = config.base_url ~ page.permalink %}
{% set encoded_url = full_url | urlencode %}
{% set encoded_title = page.title | urlencode %}

{% set share_text = page.title ~ " " ~ full_url %}
{% set share_text_encoded = share_text | urlencode %}

<a href="https://share.joinmastodon.org/?text={{ share_text_encoded }}" target="_blank" rel="noopener noreferrer">Mastodon</a>

<a href="https://bsky.app/intent/compose?text={{ share_text_encoded }}" target="_blank" rel="noopener noreferrer">Bluesky</a>

<a href="https://www.linkedin.com/sharing/share-offsite/?url={{ full_url }}" target="_blank" rel="noopener noreferrer">LinkedIn</a>

<a href="https://news.ycombinator.com/submitlink?u={{ encoded_url }}&t={{ encoded_title }}" target="_blank" rel="noopener noreferrer">Hacker News</a>

<a href="https://lobste.rs/stories/new?url={{ encoded_url }}&title={{ encoded_title }}" target="_blank" rel="noopener noreferrer">Lobsters</a>

<a href="https://www.reddit.com/submit?url={{ encoded_url }}&title={{ encoded_title }}" target="_blank" rel="noopener noreferrer">Reddit</a>
</div>
1 change: 1 addition & 0 deletions templates/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,6 @@ <h3>Post Contents</h3>
</aside>
{% endif %}
</div>
{% include "partials/share_bar.html" %}
</article>
{% endblock content %}