fix: changed index.html range of posts

This commit is contained in:
Filippo Ferrari 2024-02-09 18:14:59 +01:00
parent b985ee82c7
commit 6340880f34

View file

@ -11,7 +11,7 @@ This site's main purpose is to document my projects, coding, things i learn and
<div class="posts-list">
{{ 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))}}
<div class="post">
<p>
<div class="date">{{ .PublishDate.Format "Jan. 2, 2006" }}</div>