diff --git a/website/pages/[...listPathPage].tsx b/website/pages/[...listPathPage].tsx index 41fe42458..b65073f55 100644 --- a/website/pages/[...listPathPage].tsx +++ b/website/pages/[...listPathPage].tsx @@ -58,7 +58,7 @@ export const getStaticPaths: GetStaticPaths = async () => { if (dirent.isDirectory()) { return loadFolder([...pathBase, dirent.name]) } - if (!dirent.name.includes('.mdx')) { + if (!dirent.name.includes('.mdx') || dirent.name[0] === '_') { return [] }