From dcb01b0daad8fd4bff6a7e81f692128e92cdb68f Mon Sep 17 00:00:00 2001 From: Michael Poore Date: Wed, 26 Jun 2024 15:54:06 +0100 Subject: [PATCH] :sparkles: Add data definition for sharing on Bluesky --- data/sharing.json | 5 +++++ exampleSite/config/_default/params.toml | 2 +- i18n/en.yaml | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/data/sharing.json b/data/sharing.json index a0669ffe..f176a2cd 100644 --- a/data/sharing.json +++ b/data/sharing.json @@ -38,5 +38,10 @@ "icon": "telegram", "title": "sharing.telegram", "url": "https://t.me/share/url?url=%s&resubmit=true&title=%s" + }, + "bluesky": { + "icon": "bluesky", + "title": "sharing.bluesky", + "url": "https://bsky.app/intent/compose?text=%[2]s+%[1]s" } } \ No newline at end of file diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 093a4937..90f5cbaf 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -73,7 +73,7 @@ smartTOCHideUnfocusedChildren = false showTaxonomies = true showAuthorsBadges = true showWordCount = false - sharingLinks = [ "linkedin", "twitter", "reddit", "whatsapp", "telegram", "pinterest", "facebook", "email"] + sharingLinks = [ "linkedin", "twitter", "bluesky", "reddit", "whatsapp", "telegram", "pinterest", "facebook", "email"] showZenMode = true [list] diff --git a/i18n/en.yaml b/i18n/en.yaml index 9987590e..73afa73c 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -66,6 +66,7 @@ sharing: pinterest: "Pin on Pinterest" reddit: "Submit to Reddit" twitter: "Tweet on Twitter" + bluesky: "Post on Bluesky" shortcode: recent_articles: "Recent"