Removing Blog and Changelog
Remove the marketing blog and/or changelog cleanly when your product does not need them.
The blog and changelog are optional. Because they are local MDX, removing them is mostly deleting files. You can remove one without the other.
Remove the content only (keep the option)
Delete the .mdx files in apps/marketing/content/blog/ and/or
apps/marketing/content/changelog/. The loaders return an empty list when a
directory is empty or missing, so the listing pages render an honest empty state
and nothing breaks. This is the safest option if you might publish later.
Remove a feature entirely
To drop the blog (the changelog is symmetric):
- Delete the routes:
apps/marketing/src/app/blog/(bothpage.tsxand[slug]/page.tsx). - Delete the loader and schema:
apps/marketing/src/lib/content/blog.ts. - Delete the content directory:
apps/marketing/content/blog/. - Remove blog links from the site navigation/footer config in
apps/marketing/src/config. - Remove any
blogPostingJsonLdusage.
If you remove both the blog and changelog, you can also delete the shared
apps/marketing/src/lib/content/ helpers (util.ts, frontmatter.ts) and the
apps/marketing/content/ directory.
Verify
bun --cwd apps/marketing run typecheck
bun --cwd apps/marketing run buildA green build confirms no route, sitemap, or navigation entry still references the removed content.