mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-26 13:26:22 +00:00
fix: recent notes partial sorting
This commit is contained in:
parent
10e41743e5
commit
983efab94c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue