Skip to content

Commit

Permalink
🐛 Fix incorrect pagination dates
Browse files Browse the repository at this point in the history
  • Loading branch information
canstand committed Nov 16, 2021
1 parent 92f4a8d commit d70c63d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/article-pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
>
<span class="mt-[0.1rem] text-xs text-neutral-400 dark:text-neutral-500">
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
{{ partial "meta/date.html" . }}
{{ partial "meta/date.html" .NextInSection }}
{{ end }}
</span>
</span>
Expand All @@ -29,7 +29,7 @@
>
<span class="mt-[0.1rem] text-xs text-neutral-400 dark:text-neutral-500">
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
{{ partial "meta/date.html" . }}
{{ partial "meta/date.html" .PrevInSection }}
{{ end }}
</span>
</span>
Expand Down

0 comments on commit d70c63d

Please sign in to comment.