File tree Expand file tree Collapse file tree
themes/devopsdays-theme/layouts/partials Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7676 {{- $share_str = "\"facebook\"" -}}
7777 {{- else if eq $current_item "linkedin" -}}
7878 {{- $share_str = "\"linkedin\"" -}}
79+ {{- else if eq $current_item "bluesky" -}}
80+ {{- $share_str = "\"bluesky\"" -}}
81+ {{- else if eq $current_item "threads" -}}
82+ {{- $share_str = "\"threads\"" -}}
83+ {{- else if eq $current_item "mastodon" -}}
84+ {{- $share_str = "\"mastodon\"" -}}
7985 {{- else -}}
8086 {{- $twitter_share_val := index $current_item "share" -}}
8187 {{- if $twitter_share_val -}}
98104
99105< script >
100106//shares
101-
107+ jsSocials . shares . bluesky = {
108+ label : "Share" ,
109+ logo : "fa-brands fa-bluesky" ,
110+ shareUrl : "https://bsky.app/intent/compose?text={text} {url}"
111+ } ;
112+ jsSocials . shares . threads = {
113+ label : "Share" ,
114+ logo : "fa-brands fa-threads" ,
115+ shareUrl : "https://threads.net/intent/post?text={text} {url}"
116+ } ;
117+ jsSocials . shares . mastodon = {
118+ label : "Share" ,
119+ logo : "fa-brands fa-mastodon" ,
120+ shareUrl : "https://mastodonshare.com/?text={text}&url={url}"
121+ } ;
102122
103123{ { $full_script | safeJS } }
104124
You can’t perform that action at this time.
0 commit comments