diff --git a/packages/common/src/utils.ts b/packages/common/src/utils.ts index 60427a19..9b9d59f3 100644 --- a/packages/common/src/utils.ts +++ b/packages/common/src/utils.ts @@ -40,7 +40,7 @@ export function getProjectHeadings( }, ...project.pages.map((p) => { if (!('slug' in p)) return p; - const slug = p.slug?.replace('.', '/'); + const slug = p.slug?.replaceAll('.', '/'); return { ...p, path: projectSlug && project.slug ? `/${project.slug}/${slug}` : `/${slug}`,