Skip to content

Commit e49832a

Browse files
minor: reorder mastodon button alphabetically
Signed-off-by: thiswillbeyourgithub <[email protected]>
1 parent 23dc9d5 commit e49832a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

_includes/social-share.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ <h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label |
77

88
<a href="https://bsky.app/intent/compose?text={{ base_path }}{{ page.url }}" class="btn btn--bluesky" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Bluesky"><i class="fab fa-bluesky" aria-hidden="true"></i><span> Bluesky</span></a>
99

10-
<a href="https://www.addtoany.com/add_to/mastodon?linkurl={{ base_path | append: page.url | url_encode }}" class="btn btn--mastodon" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Mastodon"><i class="fab fa-mastodon" aria-hidden="true"></i><span> Mastodon</span></a>
11-
1210
<a href="https://www.facebook.com/sharer/sharer.php?u={{ base_path }}{{ page.url }}" class="btn btn--facebook" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fab fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
1311

1412
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ base_path }}{{ page.url }}" class="btn btn--linkedin" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fab fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
1513

14+
<a href="https://www.addtoany.com/add_to/mastodon?linkurl={{ base_path | append: page.url | url_encode }}" class="btn btn--mastodon" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Mastodon"><i class="fab fa-mastodon" aria-hidden="true"></i><span> Mastodon</span></a>
15+
1616
<a href="https://x.com/intent/post?text={{ base_path }}{{ page.url }}" class="btn btn--x" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} X"><i class="fab fa-x-twitter" aria-hidden="true"></i><span> X (formerly Twitter)</span></a>
1717
</section>

_sass/layout/_buttons.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@
119119

120120
$social:
121121
(bluesky, $bluesky-color),
122-
(mastodon, $mastodon-color),
123122
(facebook, $facebook-color),
124123
(twitter, $twitter-color),
125124
(google-plus, $google-plus-color),
126125
(linkedin, $linkedin-color);
126+
(mastodon, $mastodon-color),
127127

128128
@each $socialnetwork, $color in $social {
129129
&--#{$socialnetwork} {
@@ -152,4 +152,4 @@
152152
&--small {
153153
font-size: $type-size-7;
154154
}
155-
}
155+
}

0 commit comments

Comments
 (0)