We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10ac41c commit 3f75605Copy full SHA for 3f75605
docs/src/app/[[...mdxPath]]/layout.jsx
@@ -20,7 +20,12 @@ const navbar = (
20
/>
21
)
22
23
+const EXCLUDED_PAGES = [
24
+ '/full'
25
+]
26
+
27
export default async function RootLayout ({ children }) {
28
+ const pageMap = (await getPageMap()).filter(page => !EXCLUDED_PAGES.includes(page.route))
29
return (
30
<html
31
// Not required, but good for SEO
@@ -43,7 +48,7 @@ export default async function RootLayout ({ children }) {
43
48
editLink='Edit this page on GitHub'
44
49
footer={<Footer>MIT {year} © Textea, Inc.</Footer>}
45
50
navbar={navbar}
46
- pageMap={await getPageMap()}
51
+ pageMap={pageMap}
47
52
>
53
{children}
54
</Layout>
0 commit comments