fix: recent notes partial sorting

hugo
Jacky Zhao 2 years ago
parent 10e41743e5
commit 983efab94c

@ -6,7 +6,7 @@
is a collection of pages.
https://gohugo.io/content-management/related/
-->
{{$notes := .Site.RegularPages}}
{{$notes := .Site.RegularPages.ByLastmod.Reverse}}
{{partial "page-list.html" (first 3 $notes)}}
</div>

Loading…
Cancel
Save