Skip to content

Commit 1c671e5

Browse files
committed
Hide untranslated Claude Teams blog routes
1 parent 3b022d3 commit 1c671e5

5 files changed

Lines changed: 13 additions & 2 deletions

File tree

web/app/[locale]/(landing)/blog/cmux-claude-teams/page.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
import { useTranslations } from "next-intl";
22
import { getTranslations } from "next-intl/server";
33
import { buildAlternates, openGraphDefaults, seoDescription, twitterSummary } from "@/i18n/seo";
4+
import { englishFallbackContentLocales } from "@/i18n/locale-availability";
45
import { BlogSchema } from "../blog-schema";
56
import { Link } from "@/i18n/navigation";
67

78
export async function generateMetadata({ params }: { params: Promise<{ locale: string }> }) {
89
const { locale } = await params;
910
const t = await getTranslations({ locale, namespace: "blog.cmuxClaudeTeams" });
10-
const alternates = buildAlternates(locale, "/blog/cmux-claude-teams");
11+
const alternates = buildAlternates(
12+
locale,
13+
"/blog/cmux-claude-teams",
14+
englishFallbackContentLocales,
15+
);
1116
const title = t("metaTitle");
1217
const description = seoDescription(locale, t("metaDescription"));
1318
return {

web/app/[locale]/components/blog-posts.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export const blogPosts = [
105105
date: "2026-03-30",
106106
summary:
107107
"Claude Code's teammate mode requires tmux. cmux fakes it so teammates become native splits with sidebar metadata and notifications.",
108+
locales: englishFallbackContentLocales,
108109
},
109110
{
110111
slug: "cmux-omo",

web/app/lib/agent-page-paths.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ export const agentReadablePages = [
131131
{
132132
path: "/blog/cmux-claude-teams",
133133
title: "Claude Code teammate agents as native cmux panes",
134+
locales: englishFallbackContentLocales,
134135
},
135136
{
136137
path: "/blog/cmux-omo",

web/app/sitemap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function sitemap(): MetadataRoute.Sitemap {
3636
{ path: "/blog/show-hn-launch", lastModified: "2026-02-21", changeFrequency: "monthly" as const, priority: 0.7 },
3737
{ path: "/blog/introducing-cmux", lastModified: "2026-02-12", changeFrequency: "monthly" as const, priority: 0.7 },
3838
{ path: "/blog/zen-of-cmux", lastModified: "2026-02-27", changeFrequency: "monthly" as const, priority: 0.7 },
39-
{ path: "/blog/cmux-claude-teams", lastModified: "2026-03-30", changeFrequency: "monthly" as const, priority: 0.7 },
39+
{ path: "/blog/cmux-claude-teams", lastModified: "2026-03-30", changeFrequency: "monthly" as const, priority: 0.7, locales: englishFallbackContentLocales },
4040
{ path: "/blog/cmux-omo", lastModified: "2026-03-30", changeFrequency: "monthly" as const, priority: 0.7, locales: englishFallbackContentLocales },
4141
{ path: "/blog/cmux-ssh", lastModified: "2026-07-03", changeFrequency: "monthly" as const, priority: 0.7 },
4242
{ path: "/blog/gpl", lastModified: "2026-03-30", changeFrequency: "monthly" as const, priority: 0.7, locales: englishFallbackContentLocales },

web/i18n/locale-availability.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ const fallbackContentRoutes = [
3131
path: "/docs/agent-integrations/oh-my-pi",
3232
locales: fallbackContentLocales,
3333
},
34+
{
35+
path: "/blog/cmux-claude-teams",
36+
locales: englishFallbackContentLocales,
37+
},
3438
{ path: "/blog/cmux-omo", locales: englishFallbackContentLocales },
3539
{ path: "/blog/gpl", locales: englishFallbackContentLocales },
3640
] as const;

0 commit comments

Comments
 (0)