Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: add max depth to toc

Jonathan Summers-Muird87b113edba5
diff --git a/www/pages/blog/[slug].tsx b/www/pages/blog/[slug].tsx
index d47f9ec54d1..444a93f275b 100644
--- a/www/pages/blog/[slug].tsx
+++ b/www/pages/blog/[slug].tsx
@@ -80,7 +80,7 @@ export async function getStaticProps({ params }: any) {
slug: params.slug,
content: mdxSource,
...data,
- toc: toc(content),
+ toc: toc(content, { maxdepth: 2 }),
},
},
}