From f7c251e2d245586a40ee7dbd264be3153841afac Mon Sep 17 00:00:00 2001 From: Zeno Kapitein Date: Mon, 23 Feb 2026 11:49:26 +0100 Subject: [PATCH] Improve Reddit social account URL handling (#4033) --- .changeset/pink-bags-buy.md | 5 +++++ packages/gitbook/src/components/Footer/SocialLink.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/pink-bags-buy.md diff --git a/.changeset/pink-bags-buy.md b/.changeset/pink-bags-buy.md new file mode 100644 index 000000000..6dd07054b --- /dev/null +++ b/.changeset/pink-bags-buy.md @@ -0,0 +1,5 @@ +--- +"gitbook": patch +--- + +Update Reddit social account rendering diff --git a/packages/gitbook/src/components/Footer/SocialLink.tsx b/packages/gitbook/src/components/Footer/SocialLink.tsx index c64258141..7bd5709d1 100644 --- a/packages/gitbook/src/components/Footer/SocialLink.tsx +++ b/packages/gitbook/src/components/Footer/SocialLink.tsx @@ -62,7 +62,7 @@ const SOCIAL_PLATFORMS: Record = [SiteSocialAccountPlatform.Reddit]: { label: 'Reddit', icon: 'reddit', - href: 'https://reddit.com/@$handle', + href: 'https://reddit.com/$handle', }, [SiteSocialAccountPlatform.Bluesky]: { label: 'Bluesky',