diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-10-12 01:55:41 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-10-12 01:55:41 +0200 |
commit | 5ac043bd3c7d025a3df69e4b1df25b320a8277b9 (patch) | |
tree | 8503ee7d4e890891a6c0a1252705c07342747693 /layouts | |
parent | c20af0563d54b415fb9cc2fb4ff75410c23e65fb (diff) | |
download | hugo-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.html | 2 |
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 }} |