🐛 Fix incorrect pagination dates

This commit is contained in:
canstand
2021-11-16 14:08:22 +08:00
parent 92f4a8d41d
commit d70c63d800
+2 -2
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>