mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 03:15:06 +03:00
Merge branch 'master' into blog/june
This commit is contained in:
commit
a05d25dddf
1 file changed
+1
-1
@@ -78,7 +78,7 @@ export async function getStaticProps({ params }: any) {
|
||||
slug: `${params.year}/${params.month}/${params.day}/${params.slug}`,
|
||||
content: mdxSource,
|
||||
...data,
|
||||
toc: toc(content, { maxdepth: 2 }),
|
||||
toc: toc(content, { maxdepth: data.toc_depth ? data.toc_depth : 2 }),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user