Remove Blog
Remove the MDX blog and its routes.
Steps
-
Delete directories:
content/blog/(all blog MDX posts)app/(marketing)/blog/(blog list and post pages)
-
Update content source config: Open
source.config.tsand remove the blog collection definition. -
Disable the feature flag: Set
NEXT_PUBLIC_ENABLE_BLOG=falsein.env, or delete the line fromlib/config/features.ts. -
Clean up navigation: Remove the blog link from
navLinksandfooter.columnsinlib/config/site.ts. -
Optional: Remove blog-related dependencies if no other content collections use them (check
source.config.tsfor remaining collections before removing packages).