From fe15a4b1bbc1ac8a9af8cd6f5635a5eaa76e4a49 Mon Sep 17 00:00:00 2001 From: Etai Lev Ran Date: Mon, 10 Jun 2024 13:44:42 +0300 Subject: [PATCH] enable and use git info for lastmod time Signed-off-by: Etai Lev Ran --- website/config.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/website/config.toml b/website/config.toml index f224b04d8..047fd9057 100644 --- a/website/config.toml +++ b/website/config.toml @@ -12,11 +12,14 @@ enableRobotsTXT = true disableAliases = true # Will give values to .Lastmod etc. -enableGitInfo = false +enableGitInfo = true # Comment out to enable taxonomies in Docsy # disableKinds = ["taxonomy", "taxonomyTerm"] +[frontmatter] +lastmod = ["lastmod", ":git", "date", "publishDate"] + # You can add your own taxonomies [taxonomies] tag = "tags"