summaryrefslogtreecommitdiff
path: root/hugo.toml
diff options
context:
space:
mode:
authorRichard-Qin-X <richard.qin.001@gmail.com>2026-09-10 00:39:04 +0800
committerRichard-Qin-X <richard.qin.001@gmail.com>2026-09-10 00:39:04 +0800
commitcafd54a65f4d576cebdb3c177fc77bbea6dbe289 (patch)
tree336b9a272818b9dc3e92cef8c5167199da484493 /hugo.toml
parentce9554ceaa68e3a1469ece2b0f303bb7c98d1550 (diff)
Use created and updated document dates
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/hugo.toml b/hugo.toml
index c266924..ed3e4d7 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -17,6 +17,10 @@ enableRobotsTXT = false
gitBase = "https://codeberg.org/Richard-Qin/rhomepage/src/branch/main"
contentLicense = "CC BY-SA 4.0"
+[frontmatter]
+ date = ["created"]
+ lastmod = ["updated"]
+
[permalinks]
journal = "/:year/:month/:slug"
notes = "/:sections/:slug"