Skip to content

Commit 3db0f01

Browse files
authored
Fix Last Modified value for website pages (googleforgames#170)
1 parent 9f21ff0 commit 3db0f01

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

site/config.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ enableRobotsTXT = true
77
theme = ["docsy"]
88

99
# Will give values to .Lastmod etc.
10-
#enableGitInfo = true
10+
# enableGitInfo = true
1111

1212
# Language settings
1313
contentDir = "content/en"
@@ -112,3 +112,9 @@ no = 'Sorry to hear that. Please <a href="https://github.com/googleforgames/open
112112
url = "https://github.com/googleforgames/open-match"
113113
icon = "fab fa-github"
114114
desc = "Source Code"
115+
116+
[frontmatter]
117+
date = ["date", "publishDate", "lastmod"]
118+
lastmod = [":fileModTime"]
119+
publishDate = ["publishDate", "date"]
120+
expiryDate = ["expiryDate"]

0 commit comments

Comments
 (0)