diff options
| author | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2026-02-14 10:13:43 -0500 |
|---|---|---|
| committer | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2026-02-14 10:13:43 -0500 |
| commit | 5514bc9b5023f4a8e921b3ef70836c1c843248c4 (patch) | |
| tree | 8d09bb048b12b36b56fe991d401bc7b3d5e6c2ea /jakob/utils/pagination.scm | |
| parent | f62a80e1a10970376973a2ee5b016a814bcd2039 (diff) | |
Stylize pagination buttons
Diffstat (limited to 'jakob/utils/pagination.scm')
| -rw-r--r-- | jakob/utils/pagination.scm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/jakob/utils/pagination.scm b/jakob/utils/pagination.scm index 9e6ff13..18ecfc3 100644 --- a/jakob/utils/pagination.scm +++ b/jakob/utils/pagination.scm @@ -71,9 +71,13 @@ PREVIOUS-PAGE and NEXT-PAGE." (nav (@ (id "pagination")) ,(when previous-page - (hyperlink previous-page "← Previous Page")) + `(a (@ (href ,previous-page) + (rel "prev")) + "← Previous Page")) ,(when next-page - (hyperlink next-page "Next Page →"))) + `(a (@ (href ,next-page) + (rel "next")) + "Next Page →"))) ,@(if enable-search `((link (@ (rel "stylesheet") (href "/_pagefind/pagefind-ui.css"))) |