From 5ac043bd3c7d025a3df69e4b1df25b320a8277b9 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Thu, 12 Oct 2023 01:55:41 +0200 Subject: quick fix list content --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/index.html') diff --git a/layouts/index.html b/layouts/index.html index 889d236..b75e6f8 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,7 +5,7 @@ {{ define "main" }} {{ range $index, $element := where .Pages "Type" "in" .Site.Params.mainSections }} -{{ range first .Params.index_show .Pages.ByPublishDate.Reverse }} +{{ range first 4 .Pages.ByPublishDate.Reverse }} {{ partial "post.html" . }} {{ end }} -- cgit v1.2.3