Skip to content

Commit 076101c

Browse files
add social sharing button for mastodon via add to any
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com>
1 parent 2cfb144 commit 076101c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

_includes/social-share.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ <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 }}">
11+
<img src="./images/mastodon_share.png" alt="Share on Mastodon" height="34" width="34">
12+
</a>
13+
1014
<!-- <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> -->
1115
<!---->
1216
<!-- <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> -->

images/mastodon_share.png

12.2 KB
Loading

0 commit comments

Comments
 (0)