Some checks failed
Blowfish Docs Deploy / build (push) Has been cancelled
Blowfish Docs Deploy / deploy (push) Has been cancelled
Test Build / Build Example Site (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Update Hugo version / updateBlowfish (push) Has been cancelled
Delete exampleSite Add initial content, images & docker-compose.yml Use extend-head.html for analytics Set remote url to gitea.novicelab.io Remove original .git due to "shallow update not allowed" error
48 lines
2.0 KiB
HTML
48 lines
2.0 KiB
HTML
{{ if .Params.showPagination | default (.Site.Params.article.showPagination | default true) }}
|
|
{{ if or .NextInSection .PrevInSection }}
|
|
{{ $next := .NextInSection }}
|
|
{{ $prev := .PrevInSection }}
|
|
{{ if .Params.invertPagination | default (.Site.Params.article.invertPagination | default false) }}
|
|
{{ $next = .PrevInSection }}
|
|
{{ $prev = .NextInSection }}
|
|
{{ end }}
|
|
<div class="pt-8">
|
|
<hr class="border-dotted border-neutral-300 dark:border-neutral-600">
|
|
<div class="flex justify-between pt-3">
|
|
<span class="flex flex-col">
|
|
{{ if $prev }}
|
|
<a
|
|
class="flex text-neutral-700 hover:text-primary-600 dark:text-neutral dark:hover:text-primary-400"
|
|
href="{{ $prev.RelPermalink }}">
|
|
<span class="leading-6">
|
|
<span class="inline-block rtl:rotate-180">←</span> {{ $prev.Title | emojify }}
|
|
</span>
|
|
</a>
|
|
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
|
|
<span class="ms-6 mt-1 text-xs text-neutral-500 dark:text-neutral-400">
|
|
{{ partial "meta/date.html" $prev.Date }}
|
|
</span>
|
|
{{ end }}
|
|
{{ end }}
|
|
</span>
|
|
<span class="flex flex-col items-end">
|
|
{{ if $next }}
|
|
<a
|
|
class="flex text-right text-neutral-700 hover:text-primary-600 dark:text-neutral dark:hover:text-primary-400"
|
|
href="{{ $next.RelPermalink }}">
|
|
<span class="leading-6">
|
|
{{ $next.Title | emojify }} <span class="inline-block rtl:rotate-180">→</span>
|
|
</span>
|
|
</a>
|
|
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
|
|
<span class="me-6 mt-1 text-xs text-neutral-500 dark:text-neutral-400">
|
|
{{ partial "meta/date.html" $next.Date }}
|
|
</span>
|
|
{{ end }}
|
|
{{ end }}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|