diff --git a/layouts/partials/recent.html b/layouts/partials/recent.html index e7afddd6..aadf97db 100644 --- a/layouts/partials/recent.html +++ b/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)}}