fix: changed index.html range of posts
This commit is contained in:
parent
b985ee82c7
commit
6340880f34
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue