feat/seo #10

Merged
GauthierWebDev merged 10 commits from feat/seo into main 2025-04-18 16:44:38 +00:00
Showing only changes of commit 0e59a8b2e0 - Show all commits

View File

@ -70,7 +70,7 @@ export function PrevNextLinks() {
// In case the next page is the same as the current page (in subitems), // In case the next page is the same as the current page (in subitems),
// we need to skip it to get the correct next page. // we need to skip it to get the correct next page.
if (nextPage.href === urlPathname) { if (nextPage?.href === urlPathname) {
nextPage = allLinks[linkIndex + 2] || null; nextPage = allLinks[linkIndex + 2] || null;
} }