Jacky Zhao
2023-02-13 983efab94c31bb19b532e120f2f70f45f788b7c8
fix: recent notes partial sorting
1 files modified
2 ■■■ changed files
layouts/partials/recent.html 2 ●●● patch | view | raw | blame | history
layouts/partials/recent.html
@@ -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>