1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-07-26 00:01:22 +00:00

fix: recent notes partial sorting

This commit is contained in:
Jacky Zhao
2023-02-12 16:46:11 -08:00
parent 10e41743e5
commit 983efab94c

View File

@@ -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>