From 5277766ea32fcb37e2453ab8ae6f304aa9fcf42a Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Sun, 8 Mar 2026 05:53:01 +0100 Subject: [PATCH] Default Social Activity tab to Mastodon --- _includes/components/widgets/social-activity.njk | 3 ++- theme/_includes/components/widgets/social-activity.njk | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/_includes/components/widgets/social-activity.njk b/_includes/components/widgets/social-activity.njk index d2b16c9..c545548 100644 --- a/_includes/components/widgets/social-activity.njk +++ b/_includes/components/widgets/social-activity.njk @@ -1,7 +1,8 @@ {# Social Feed Widget - Tabbed Bluesky/Mastodon #} {% if (blueskyFeed and blueskyFeed.length) or (mastodonFeed and mastodonFeed.length) %} -
+{% set defaultSocialTab = "mastodon" if mastodonFeed and mastodonFeed.length else "bluesky" %} +

Social Activity

{# Tab buttons #} diff --git a/theme/_includes/components/widgets/social-activity.njk b/theme/_includes/components/widgets/social-activity.njk index 21910a5..df1987c 100644 --- a/theme/_includes/components/widgets/social-activity.njk +++ b/theme/_includes/components/widgets/social-activity.njk @@ -1,7 +1,8 @@ {# Social Feed Widget - Tabbed Bluesky/Mastodon #} {% if (blueskyFeed and blueskyFeed.length) or (mastodonFeed and mastodonFeed.length) %} -
+{% set defaultSocialTab = "mastodon" if mastodonFeed and mastodonFeed.length else "bluesky" %} +

Social Activity

{# Tab buttons #}