aboutsummaryrefslogtreecommitdiff
path: root/hugo.toml
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-09-10 00:39:04 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-09-10 00:39:04 +0800
commit2d425e6835738e3b3c796028e0f9716feed69f5c (patch)
tree336b9a272818b9dc3e92cef8c5167199da484493 /hugo.toml
parent6ccbdcbb02720e46a46bb62d60e1db089f8e419a (diff)
downloadrhomepage-2d425e6835738e3b3c796028e0f9716feed69f5c.tar.gz
rhomepage-2d425e6835738e3b3c796028e0f9716feed69f5c.tar.xz
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"