Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
Add the blog to the marketing site (#2882)
serafin-garcia0335a697ad3a
diff --git a/docs/src/app/robots.ts b/docs/src/app/robots.tsindex f115fd3d5..5385de5c8 100644--- a/docs/src/app/robots.ts+++ b/docs/src/app/robots.ts@@ -10,6 +10,12 @@ export default function robots(): MetadataRoute.Robots {disallow: ['/api/', '/d/'],},],- sitemap: `${SITE_URL}/sitemap.xml`,+ // The marketing zone owns /blog/:path* on the apex and serves its own+ // sitemap for the blog posts this app can't enumerate.+ sitemap: [+ `${SITE_URL}/sitemap.xml`,+ `${SITE_URL}/blog/sitemap.xml`,+ `${SITE_URL}/team/sitemap.xml`,+ ],};}diff --git a/docs/src/app/sitemap.ts b/docs/src/app/sitemap.tsindex 5532fe3b7..bc4504f53 100644--- a/docs/src/app/sitemap.ts+++ b/docs/src/app/sitemap.ts@@ -26,6 +26,9 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {// and must list the apex (rendered by the marketing zone) plus /brand + docs.return [{ url: SITE_URL, changeFrequency: 'weekly', priority: 1.0 },+ // /blog and its posts render in the marketing zone, whose content this+ // public app can't enumerate — they live in the marketing zone's own+ // /blog/sitemap.xml, listed alongside this one in robots.ts.{ url: `${SITE_URL}${CHANGELOG_ROUTE}`, changeFrequency: 'weekly', priority: 0.6 },...releasePages,{ url: `${SITE_URL}${BRAND_ROUTE}`, changeFrequency: 'monthly', priority: 0.4 },