Skip to content

Commit

Permalink
Add button to enable sharing to bluesky
Browse files Browse the repository at this point in the history
  • Loading branch information
kbeyls committed Jan 1, 2025
1 parent 12eff1e commit 834e2b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions theme/html/pandoc_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
>
<i class="bi bi-share-fill"></i></button>
<div class="dropdown-menu" aria-labelledby="shareDropdownMenuButton">
<a id="bluesky-share-link" class="dropdown-item" href="#" target="_blank">Bluesky</a>
<a id="twitter-share-link" class="dropdown-item" href="#" target="_blank">Twitter</a>
<a id="mastodon-share-link" class="dropdown-item" href="#" target="_blank">Mastodon</a>
<a id="linkedin-share-link" class="dropdown-item" href="#" target="_blank">LinkedIn</a>
Expand Down Expand Up @@ -294,6 +295,10 @@ <h1 class="title">$title$</h1>
"https://tootpick.org/#"
+ jQuery.param({text: shared_title + ' ' + shared_url
+ ' #llsoftsecbook'}));
jQuery("#bluesky-share-link").attr("href",
"https://bsky.app/intent/compose/?"
+ jQuery.param({text: shared_title + ' ' + shared_url
+ ' #llsoftsecbook'}));


// Needed to enable the bootstrap tooltips:
Expand Down

0 comments on commit 834e2b2

Please sign in to comment.