🐛 Fix incorrect pagination dates

pull/32/head
canstand 2021-11-16 14:08:22 +08:00
parent 92f4a8d41d
commit d70c63d800
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
> >
<span class="mt-[0.1rem] text-xs text-neutral-400 dark:text-neutral-500"> <span class="mt-[0.1rem] text-xs text-neutral-400 dark:text-neutral-500">
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }} {{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
{{ partial "meta/date.html" . }} {{ partial "meta/date.html" .NextInSection }}
{{ end }} {{ end }}
</span> </span>
</span> </span>
@ -29,7 +29,7 @@
> >
<span class="mt-[0.1rem] text-xs text-neutral-400 dark:text-neutral-500"> <span class="mt-[0.1rem] text-xs text-neutral-400 dark:text-neutral-500">
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }} {{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
{{ partial "meta/date.html" . }} {{ partial "meta/date.html" .PrevInSection }}
{{ end }} {{ end }}
</span> </span>
</span> </span>