🐛 Fix calling date partial

pull/91/head
Carlos Beleña 2022-01-23 22:33:19 +01:00
parent c9bb4b0b63
commit 63a1f0719f
No known key found for this signature in database
GPG Key ID: A6EE66C946E343D1
1 changed files with 2 additions and 2 deletions

View File

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