Fix spacing for pagination dates

pull/26/head
Benjamin Lee 2021-11-04 19:53:06 -04:00 committed by GitHub
parent 968251bfca
commit a7c1f25c9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<span class="mr-3 article-pagination-direction">&larr;</span> <span class="mr-3 article-pagination-direction">&larr;</span>
<span class="flex flex-col"> <span class="flex flex-col">
<span class="article-pagination-title">{{ .NextInSection.Title | emojify }}</span> <span class="article-pagination-title">{{ .NextInSection.Title | emojify }}</span>
<span class="-mt-1 text-xs text-neutral-400 dark:text-neutral-500"> <span class="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" . }}
{{ end }} {{ end }}
@ -23,7 +23,7 @@
<a class="flex text-right" href="{{ .PrevInSection.RelPermalink }}"> <a class="flex text-right" href="{{ .PrevInSection.RelPermalink }}">
<span class="flex flex-col"> <span class="flex flex-col">
<span class="article-pagination-title">{{ .PrevInSection.Title | emojify }}</span> <span class="article-pagination-title">{{ .PrevInSection.Title | emojify }}</span>
<span class="-mt-1 text-xs text-neutral-400 dark:text-neutral-500"> <span class="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" . }}
{{ end }} {{ end }}