From d70c63d800b2b5ca6e0fab92985116ee0672e425 Mon Sep 17 00:00:00 2001 From: canstand Date: Tue, 16 Nov 2021 14:08:22 +0800 Subject: [PATCH] :bug: Fix incorrect pagination dates --- layouts/partials/article-pagination.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/article-pagination.html b/layouts/partials/article-pagination.html index 40134165..d6af75d4 100644 --- a/layouts/partials/article-pagination.html +++ b/layouts/partials/article-pagination.html @@ -13,7 +13,7 @@ > {{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }} - {{ partial "meta/date.html" . }} + {{ partial "meta/date.html" .NextInSection }} {{ end }} @@ -29,7 +29,7 @@ > {{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }} - {{ partial "meta/date.html" . }} + {{ partial "meta/date.html" .PrevInSection }} {{ end }}