From 8f4b882db3bfd1919ee1a4dc0f7745895b736467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sat, 10 Jan 2026 18:20:08 +0100 Subject: [PATCH] fix: tracks pagination --- config/_default/hugo.toml | 3 +++ layouts/tracks/list.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 20809c9..144ff05 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -2,6 +2,9 @@ baseURL = "https://pivoine.art/" languageCode = "en-us" title = "Valknar's" +[pagination] + pagerSize = 12 + [permalinks] tracks = "/tracks/:slug/" diff --git a/layouts/tracks/list.html b/layouts/tracks/list.html index 510df97..085d430 100755 --- a/layouts/tracks/list.html +++ b/layouts/tracks/list.html @@ -6,7 +6,7 @@

{{ .Description | default "All audio experiments" }}

- {{- $tracks := .Pages -}} + {{- $tracks := .Paginator.Pages -}} {{- if $tracks }}
{{- range $tracks }}