From 6ebde6d065a1c0bfc508c644f16643303ec1bafc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Filipe=20Goulart?= Date: Mon, 3 Nov 2025 23:47:41 -0300 Subject: [PATCH] Fix reversed blog navigation links --- src/components/Layout/Page.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/Layout/Page.tsx b/src/components/Layout/Page.tsx index aa39fe5fc2b..04674c9c438 100644 --- a/src/components/Layout/Page.tsx +++ b/src/components/Layout/Page.tsx @@ -96,8 +96,10 @@ export function Page({ {!isBlogIndex && ( oldest + // but "Previous" should go to older posts and "Next" to newer posts + nextRoute={section === 'blog' ? prevRoute : nextRoute} + prevRoute={section === 'blog' ? nextRoute : prevRoute} /> )}