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 }}