Setup new pagination
Some checks failed
Builds / ExectOS WebSite (push) Failing after 17s

This commit is contained in:
2025-07-10 15:39:02 +02:00
committed by CodingWorkshop Signing Team
parent 7829412885
commit ee84abb4f1

View File

@@ -1,2 +1,2 @@
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" (slice "news")) }}
{{ $paginator := .Paginate (where site.RegularPages.ByDate.Reverse "Type" "news") 5 }}
{{ partial "list.html" (dict "context" . "paginator" $paginator) }}