From 63a1f0719f8074648315db8915f5ba4132d4df2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Bele=C3=B1a?= Date: Sun, 23 Jan 2022 22:33:19 +0100 Subject: [PATCH] :bug: Fix calling date partial --- 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 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 }}