aboutsummaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-10-12 01:55:41 +0200
committerOscar Najera <hi@oscarnajera.com>2023-10-12 01:55:41 +0200
commit5ac043bd3c7d025a3df69e4b1df25b320a8277b9 (patch)
tree8503ee7d4e890891a6c0a1252705c07342747693 /layouts
parentc20af0563d54b415fb9cc2fb4ff75410c23e65fb (diff)
downloadhugo-minimalist-theme-5ac043bd3c7d025a3df69e4b1df25b320a8277b9.tar.gz
hugo-minimalist-theme-5ac043bd3c7d025a3df69e4b1df25b320a8277b9.tar.bz2
hugo-minimalist-theme-5ac043bd3c7d025a3df69e4b1df25b320a8277b9.zip
quick fix list content
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
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" }}
<!-- Page Content -->
{{ 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 }}