From afddfe3469711e195b4e7036f8c876de61864fcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=CC=81scar=20M=2E=20Lage?= Date: Tue, 1 Mar 2022 00:14:29 +0100 Subject: [PATCH] Fix: post detail pagination --- src/themes/oscar/layouts/partials/posts/pagination.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/themes/oscar/layouts/partials/posts/pagination.html b/src/themes/oscar/layouts/partials/posts/pagination.html index 7bdc3aa..0a36333 100644 --- a/src/themes/oscar/layouts/partials/posts/pagination.html +++ b/src/themes/oscar/layouts/partials/posts/pagination.html @@ -1,7 +1,7 @@ - {{- if .PrevPage }} - ← {{ .PrevPage.Title }} + {{- if .NextInSection }} + ← {{ .NextInSection.Title }} {{- end }} - {{- if .NextPage }} - | {{ .NextPage.Title }} → + {{- if .PrevInSection }} + | {{ .PrevInSection.Title }} → {{- end }}