fix: tracks pagination

This commit is contained in:
2026-01-10 18:20:08 +01:00
parent 027bf4d6cd
commit 8f4b882db3
2 changed files with 4 additions and 1 deletions

View File

@@ -2,6 +2,9 @@ baseURL = "https://pivoine.art/"
languageCode = "en-us"
title = "Valknar's"
[pagination]
pagerSize = 12
[permalinks]
tracks = "/tracks/:slug/"

View File

@@ -6,7 +6,7 @@
<p class="text-text-secondary mt-2">{{ .Description | default "All audio experiments" }}</p>
</header>
{{- $tracks := .Pages -}}
{{- $tracks := .Paginator.Pages -}}
{{- if $tracks }}
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6">
{{- range $tracks }}