From 6340880f3488a78b2b4b28214a8d10464a98996e Mon Sep 17 00:00:00 2001 From: Filippo Ferrari Date: Fri, 9 Feb 2024 18:14:59 +0100 Subject: [PATCH] fix: changed index.html range of posts --- themes/hugo-theme-console/layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/hugo-theme-console/layouts/index.html b/themes/hugo-theme-console/layouts/index.html index e23afae..6d90dd1 100644 --- a/themes/hugo-theme-console/layouts/index.html +++ b/themes/hugo-theme-console/layouts/index.html @@ -11,7 +11,7 @@ This site's main purpose is to document my projects, coding, things i learn and
{{ with .Site.GetPage "/posts" }} - {{ range first 4 (sort .Data.Pages "Date" "desc" (where .Pages ".Params.private" "!=" true))}} + {{ range first 10 (sort .Data.Pages "Date" "desc" (where .Pages ".Params.private" "!=" true))}}

{{ .PublishDate.Format "Jan. 2, 2006" }}