From de137af5887f06dd457b8c4e7db45d8ab706b22f Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 24 Feb 2025 13:34:51 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20docs=20for=20new=20shar?= =?UTF-8?q?ing=20links?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + config/_default/params.toml | 2 +- data/sharing.json | 2 +- exampleSite/config/_default/params.toml | 2 +- exampleSite/content/docs/configuration/index.md | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c670d4..68ae73b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Added - New `gist` shortcode as the built-in Hugo version has been deprecated +- Support for article sharing to Bluesky ([#1022](https://github.com/jpanther/congo/pull/1022)) - New icon for `kofi` ([#976](https://github.com/jpanther/congo/pull/976)) - Privacy and Services params in bundled `hugo.toml` to provide sensible defaults for built-in Hugo shortcodes diff --git a/config/_default/params.toml b/config/_default/params.toml index 1963780..9524968 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -53,7 +53,7 @@ fingerprintAlgorithm = "sha256" showTaxonomies = false showWordCount = false showComments = false - # sharingLinks = ["facebook", "x-twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "threads", "telegram", "line", "weibo"] + # sharingLinks = ["facebook", "x-twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "threads", "telegram", "line", "weibo", "xing", "bluesky"] [list] showBreadcrumbs = false diff --git a/data/sharing.json b/data/sharing.json index fd0751b..efd96e9 100644 --- a/data/sharing.json +++ b/data/sharing.json @@ -64,7 +64,7 @@ "title": "sharing.xing", "url": "https://www.xing.com/spi/shares/new?url=%s" }, - "bluesky": { + "bluesky": { "icon": "bluesky", "title": "sharing.bluesky", "url": "https://bsky.app/intent/compose?text=%s%s" diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 0fad964..7aac966 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -52,7 +52,7 @@ fingerprintAlgorithm = "sha256" showTaxonomies = false showWordCount = false showComments = false - # sharingLinks = ["facebook", "x-twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "threads", "telegram", "line", "weibo", "xing"] + # sharingLinks = ["facebook", "x-twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "threads", "telegram", "line", "weibo", "xing", "bluesky"] [list] showBreadcrumbs = true diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index a3f9173..c5bbb1c 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -167,7 +167,7 @@ Many of the article defaults here can be overridden on a per article basis by sp |`article.showTaxonomies`|`false`|Whether or not the taxonomies related to this article are displayed.| |`article.showWordCount`|`false`|Whether or not article word counts are displayed.| |`article.showComments`|`false`|Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer.| -|`article.sharingLinks`|_Not set_|An array of sharing links to display at the end of each article. Valid options include `facebook`, `x-twitter`, `mastodon`, `pinterest`, `reddit`, `linkedin`, `email`, `threads`, `telegram` and `line`. When not provided, or set to `false`, no links will be displayed.| +|`article.sharingLinks`|_Not set_|An array of sharing links to display at the end of each article. Valid options include `facebook`, `x-twitter`, `mastodon`, `pinterest`, `reddit`, `linkedin`, `email`, `threads`, `telegram`, `line`, `weibo`, `xing` and `bluesky`. When not provided, or set to `false`, no links will be displayed.| |`list.showBreadcrumbs`|`false`|Whether or not breadcrumbs are displayed in the header on list pages.| |`list.showTableOfContents`|`false`|Whether or not the table of contents is displayed on list pages.| |`list.showTaxonomies`|`false`|Whether or not the taxonomies related to this article are displayed on list pages.|