From 77b3cf5e42fa78d2d5fff3d02146bbffea843bc0 Mon Sep 17 00:00:00 2001 From: revsuine Date: Mon, 25 Nov 2024 01:45:58 +0000 Subject: [PATCH] hugo.toml: enable post last updated --- hugo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hugo.toml b/hugo.toml index d545ff2..c986c4e 100644 --- a/hugo.toml +++ b/hugo.toml @@ -46,7 +46,8 @@ theme = 'terminal' # set post to show the last updated # If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated - showLastUpdated = false + showLastUpdated = true + enableGitInfo = true # Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author # updatedDatePrefix = "Updated"