diff --git a/layouts/partials/article-pagination.html b/layouts/partials/article-pagination.html index f4b323a5..3d57444b 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" .NextInSection }} + {{ partial "meta/date.html" .NextInSection.Date }} {{ end }} @@ -29,7 +29,7 @@ > {{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }} - {{ partial "meta/date.html" .PrevInSection }} + {{ partial "meta/date.html" .PrevInSection.Date }} {{ end }}