Add news support to website theme
All checks were successful
Builds / ExectOS WebSite (push) Successful in 31s

This commit is contained in:
2024-08-21 11:44:00 +02:00
parent f26705e22d
commit cd6b01003b
4 changed files with 89 additions and 6 deletions

View File

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