summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhyang <hyang@hyang.xyz>2023-09-09 20:57:57 -0700
committerhyang <hyang@hyang.xyz>2023-09-09 20:58:11 -0700
commit9b1475c269d69700eba05492d26979c5ca8e9976 (patch)
tree5b817980b8b815d4c9770d8803f440c64be96d2e
parent41c0525f5ef6317fc7da1ee4c8b367b66bff4be6 (diff)
Add toc and time read
-rw-r--r--hugo.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/hugo.toml b/hugo.toml
index 7919ad0..992f40c 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -24,6 +24,13 @@ paginate = 5
# center theme with default width
centerTheme = true
+ # whether to show a page's estimated reading time
+ readingTime = true
+
+ # whether to show a table of contents
+ # can be overridden in a page's front-matter
+ Toc = true
+
[languages]
[languages.en.params.logo]
logoText = "@hyang.xyz"