From 568ef4ecc6e5fc2bff291b5d2bc29d6f0ceedaf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=A1=E6=A2=A6=E6=98=9F=E5=B0=98?= Date: Sun, 11 Sep 2022 22:55:01 +0800 Subject: [PATCH] :bug: Fixed the home page not show run times & last push date. --- assets/js/next-boot.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/js/next-boot.js b/assets/js/next-boot.js index efe436e..4b67d4c 100644 --- a/assets/js/next-boot.js +++ b/assets/js/next-boot.js @@ -33,11 +33,12 @@ NexT.boot.registerEvents = function() { NexT.boot.refresh = function() { + NexT.utils.calSiteInfo(); + if (!NexT.CONFIG.page.isPage) return; NexT.utils.registerSidebarTOC(); - NexT.utils.calSiteInfo(); - + NexT.utils.replacePostCRLink(); NexT.utils.registerCopyCode(); NexT.utils.registerPostReward();