Fix spacing for pagination dates

This commit is contained in:
Benjamin Lee
2021-11-04 19:53:06 -04:00
committed by GitHub
parent 968251bfca
commit a7c1f25c9c
+2 -2
View File
@@ -9,7 +9,7 @@
<span class="mr-3 article-pagination-direction">&larr;</span>
<span class="flex flex-col">
<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) }}
{{ partial "meta/date.html" . }}
{{ end }}
@@ -23,7 +23,7 @@
<a class="flex text-right" href="{{ .PrevInSection.RelPermalink }}">
<span class="flex flex-col">
<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) }}
{{ partial "meta/date.html" . }}
{{ end }}