hugo-theme-terminal/layouts/partials/pagination.html
Radek Kozieł 3f87c12098
4.2.0 (#530)
* revamp code highlighting

* replace standard Fira Code with a variable version

* change buttons arrows

* redesign code blocks

* make terminal logo more prominent

* separate terminal theme styles from terminal.css

Terminal.css styles only can change the color scheme.

* update docs and version

* remove USERS.md

* fix header pattern

* remove old prismjs shortcode

* remove old rss template

* remove old figure shortcode

* [chore] update yarn

LOL, I'm still using 1.22.x

* [chore] update package-lock.json

* fix pagination & boost meta visibility

* fix code blocks on mobile & move some parts from CSS to JS
2025-03-10 13:47:59 +01:00

17 lines
617 B
HTML

<div class="pagination">
<div class="pagination__buttons">
{{ if .Paginator.HasPrev }}
<a href="{{ .Paginator.Prev.URL }}" class="button inline prev">
&lt; [<span class="button__text">{{ $.Site.Params.newerPosts | default "Newer posts" }}</span>]
</a>
{{ end }}
{{ if and .Paginator.HasPrev .Paginator.HasNext }}
::
{{ end }}
{{ if .Paginator.HasNext }}
<a href="{{ .Paginator.Next.URL }}" class="button inline next">
[<span class="button__text">{{ $.Site.Params.olderPosts | default "Older posts" }}</span>] &gt;
</a>
{{ end }}
</div>
</div>