mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-10 06:35:41 +01:00
Fix date ordering
This commit is contained in:
parent
3ceda835ad
commit
8334592ce2
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
<ol class="small-post-list">
|
||||
{{- $posts := where .Site.RegularPages "Section" "in" (slice "posts" "bookmarks" "poetry") -}}
|
||||
{{- range $posts.ByPublishDate.Reverse | first 6 -}}
|
||||
{{- range $posts.ByDate.Reverse | first 6 -}}
|
||||
{{- $postType := partial "post-type.txt" . -}}
|
||||
{{- $typeSVG := index .Site.Params.defaultSVG ( partial "kebab.txt" $postType) -}}
|
||||
<li>
|
||||
|
|
Loading…
Reference in a new issue