2021-08-15 01:21:37 +00:00
|
|
|
{{ if .Params.showPagination | default (.Site.Params.article.showPagination | default true) }}
|
2021-08-14 04:44:34 +00:00
|
|
|
{{ if or .NextInSection .PrevInSection }}
|
2022-01-24 06:05:50 +00:00
|
|
|
{{ $next := .NextInSection }}
|
|
|
|
{{ $prev := .PrevInSection }}
|
|
|
|
{{ if .Params.invertPagination | default (.Site.Params.article.invertPagination | default false) }}
|
|
|
|
{{ $next = .PrevInSection }}
|
|
|
|
{{ $prev = .NextInSection }}
|
|
|
|
{{ end }}
|
2022-02-03 00:07:12 +00:00
|
|
|
<div class="pt-8">
|
2021-08-20 07:02:08 +00:00
|
|
|
<hr class="border-dotted border-neutral-300 dark:border-neutral-600" />
|
2021-08-14 04:44:34 +00:00
|
|
|
<div class="flex justify-between pt-3">
|
|
|
|
<span>
|
2022-01-24 06:05:50 +00:00
|
|
|
{{ if $prev }}
|
2022-02-03 00:07:12 +00:00
|
|
|
<a class="flex group" href="{{ $prev.RelPermalink }}">
|
2022-01-18 23:25:48 +00:00
|
|
|
<span
|
2022-02-03 00:07:12 +00:00
|
|
|
class="mr-3 ltr:inline rtl:hidden text-neutral-700 dark:text-neutral group-hover:text-primary-600 dark:group-hover:text-primary-400"
|
2022-01-18 23:25:48 +00:00
|
|
|
>←</span
|
|
|
|
>
|
|
|
|
<span
|
2022-02-03 00:07:12 +00:00
|
|
|
class="ml-3 ltr:hidden rtl:inline text-neutral-700 dark:text-neutral group-hover:text-primary-600 dark:group-hover:text-primary-400"
|
2022-01-18 23:25:48 +00:00
|
|
|
>→</span
|
|
|
|
>
|
2021-08-14 04:44:34 +00:00
|
|
|
<span class="flex flex-col">
|
2022-02-03 00:07:12 +00:00
|
|
|
<span
|
|
|
|
class="mt-[0.1rem] leading-6 group-hover:underline group-hover:decoration-primary-500"
|
2022-01-24 06:05:50 +00:00
|
|
|
>{{ $prev.Title | emojify }}</span
|
2021-11-06 03:38:33 +00:00
|
|
|
>
|
2021-12-21 02:22:45 +00:00
|
|
|
<span class="mt-[0.1rem] text-xs text-neutral-500 dark:text-neutral-400">
|
2021-08-21 01:42:40 +00:00
|
|
|
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
|
2022-01-24 06:05:50 +00:00
|
|
|
{{ partial "meta/date.html" $prev.Date }}
|
2021-08-21 01:42:40 +00:00
|
|
|
{{ end }}
|
|
|
|
</span>
|
2021-08-14 04:44:34 +00:00
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
</span>
|
|
|
|
<span>
|
2022-01-24 06:05:50 +00:00
|
|
|
{{ if $next }}
|
2022-02-03 00:07:12 +00:00
|
|
|
<a class="flex text-right group" href="{{ $next.RelPermalink }}">
|
2021-08-14 04:44:34 +00:00
|
|
|
<span class="flex flex-col">
|
2022-02-03 00:07:12 +00:00
|
|
|
<span
|
|
|
|
class="mt-[0.1rem] leading-6 group-hover:underline group-hover:decoration-primary-500"
|
2022-01-24 06:05:50 +00:00
|
|
|
>{{ $next.Title | emojify }}</span
|
2021-11-06 03:38:33 +00:00
|
|
|
>
|
2021-12-21 02:22:45 +00:00
|
|
|
<span class="mt-[0.1rem] text-xs text-neutral-500 dark:text-neutral-400">
|
2021-08-21 01:42:40 +00:00
|
|
|
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
|
2022-01-24 06:05:50 +00:00
|
|
|
{{ partial "meta/date.html" $next.Date }}
|
2021-08-21 01:42:40 +00:00
|
|
|
{{ end }}
|
|
|
|
</span>
|
2021-08-14 04:44:34 +00:00
|
|
|
</span>
|
2022-01-18 23:25:48 +00:00
|
|
|
<span
|
2022-02-03 00:07:12 +00:00
|
|
|
class="ml-3 ltr:inline rtl:hidden text-neutral-700 dark:text-neutral group-hover:text-primary-600 dark:group-hover:text-primary-400"
|
2022-01-18 23:25:48 +00:00
|
|
|
>→</span
|
|
|
|
>
|
|
|
|
<span
|
2022-02-03 00:07:12 +00:00
|
|
|
class="mr-3 ltr:hidden rtl:inline text-neutral-700 dark:text-neutral group-hover:text-primary-600 dark:group-hover:text-primary-400"
|
2022-01-18 23:25:48 +00:00
|
|
|
>←</span
|
|
|
|
>
|
2021-08-14 04:44:34 +00:00
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|