Skip to content

Commit 126f716

Browse files
authored
Add a "Share on Bluesky" button (#5179)
1 parent 8193f60 commit 126f716

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

_includes/social-share.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@ <h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label |
1212
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" aria-label="Share on LinkedIn" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn">
1313
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span>
1414
</a>
15+
16+
<a href="https://bsky.app/intent/compose?text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--bluesky" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Bluesky">
17+
<i class="fab fa-fw fa-bluesky" aria-hidden="true"></i><span> Bluesky</span>
18+
</a>
1519
</section>

_sass/minimal-mistakes/_buttons.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
(facebook, $facebook-color),
4141
(twitter, $twitter-color),
4242
(linkedin, $linkedin-color),
43-
(mastodon, $mastodon-color);
43+
(mastodon, $mastodon-color),
44+
(bluesky, $bluesky-color);
4445

4546
@each $buttoncolor, $color in $buttoncolors {
4647
&--#{$buttoncolor} {

_sass/minimal-mistakes/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ $yiq-debug: false !default;
9090
/* brands */
9191
$behance-color: #1769ff !default;
9292
$bitbucket-color: #205081 !default;
93+
$bluesky-color: #1083fe !default;
9394
$dribbble-color: #ea4c89 !default;
9495
$facebook-color: #3b5998 !default;
9596
$flickr-color: #ff0084 !default;

0 commit comments

Comments
 (0)