From 5934c7462333355fa00885da2db2294a8218dd06 Mon Sep 17 00:00:00 2001 From: Dan Willoughby Date: Mon, 8 Jul 2024 14:08:32 -0600 Subject: [PATCH] fix canonical url --- next.config.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/next.config.mjs b/next.config.mjs index 6d64aa9dc..9c82ac62e 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -30,6 +30,8 @@ const nextConfig = { let cleanedPath = relativePath .replace('app', '') .replace('/page.md', '') + .replace('(docs)', '') + .replace('(blog)', '') if (cleanedPath === '') { cleanedPath = '/'