From e482fa10970fd6a0c1c0ec836db84ba4187bc8f7 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 06 Apr 2023 22:06:01 +0000
Subject: [PATCH] fix: graph and tooltip sometimes not showing

---
 layouts/partials/recent.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/partials/recent.html b/layouts/partials/recent.html
index e7afddd..aadf97d 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)}}
 </div>
 

--
Gitblit v1.10.0