Skip to content

Commit

Permalink
Social Links v2
Browse files Browse the repository at this point in the history
  • Loading branch information
cmasdev committed Nov 27, 2024
1 parent 5d594b9 commit 4c0821f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/beautifulhugo/social.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ icon = "fab fa-github"
[[social_icons]]
id = "bluesky"
url = "https://bsky.app/profile/%s"
title = "BlueSky"
title = "Bluesky"
icon = "fab fa-bluesky"

[[social_icons]]
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/share-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{{ $author := printf "%s" " " | printf "%s%s" site.Params.bluesky | printf "%s%s" " by " }}
{{ $text := printf "%s" $url | printf "%s%s" $author | printf "%s%s" $text }}
<li>
<a href="//bsky.app/intent/compose?text={{ $text | urlquery }}" target="_blank" title="Share on BlueSky">
<a href="//bsky.app/intent/compose?text={{ $text | urlquery }}" target="_blank" title="Share on Bluesky">
<i class="fab fa-bluesky"></i>
</a>
</li>
Expand Down

0 comments on commit 4c0821f

Please sign in to comment.