fix: recent notes partial sorting
This commit is contained in:
parent
99bccc8771
commit
13cce7f645
@ -6,7 +6,7 @@
|
|||||||
is a collection of pages.
|
is a collection of pages.
|
||||||
https://gohugo.io/content-management/related/
|
https://gohugo.io/content-management/related/
|
||||||
-->
|
-->
|
||||||
{{$notes := .Site.RegularPages}}
|
{{$notes := .Site.RegularPages.ByLastmod.Reverse}}
|
||||||
{{partial "page-list.html" (first 3 $notes)}}
|
{{partial "page-list.html" (first 3 $notes)}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user