From d727d5c58057b3846c97c65176420a4f066383c6 Mon Sep 17 00:00:00 2001 From: "liangliang.lei" Date: Mon, 9 Jun 2025 19:34:02 +0800 Subject: [PATCH] docs: update last-updated tip --- docs/en/reference/default-theme-last-updated.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/reference/default-theme-last-updated.md b/docs/en/reference/default-theme-last-updated.md index 00fed72a..2f7d0ad0 100644 --- a/docs/en/reference/default-theme-last-updated.md +++ b/docs/en/reference/default-theme-last-updated.md @@ -3,7 +3,7 @@ The update time of the last content will be displayed in the lower right corner of the page. To enable it, add `lastUpdated` options to your config. ::: tip -You need to commit the markdown file to see the updated time. +To display the last updated time, at least one Git commit is required, as we retrieve the most recent Git commit timestamp by default. Additionally, if all file update times consistently match the latest project commit (rather than reflecting actual file modifications), please verify whether your file history is incomplete (e.g., due to using Git's shallow clone mode). ::: ## Site-Level Config