aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 }}