aboutsummaryrefslogtreecommitdiff
path: root/exampleSite
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml5
-rw-r--r--exampleSite/data/even/default.toml4
2 files changed, 8 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index b7c3061..0ca7001 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -50,7 +50,10 @@ copyright = "" # default: author.name ↓ # 默认为下面配
# paginate of archives, tags and categories # 归档、标签、分类每页显示的文章数目
archive-paginate = 3
-
+
+ # show word count and read time ? # 是否显示字数统计与阅读时间
+ moreMeta = true
+
# 一些全局开关,你可以在每一篇内容的 front matter 中单独关闭某些选项
# Some global options, you can close something in front matter.
toc = true # 是否开启目录
diff --git a/exampleSite/data/even/default.toml b/exampleSite/data/even/default.toml
index 73619f4..f84f92f 100644
--- a/exampleSite/data/even/default.toml
+++ b/exampleSite/data/even/default.toml
@@ -16,6 +16,10 @@ categories = "Categories"
reward = "Reward"
seeMarkDown = "The Markdown version »"
+ [posts.header]
+ wordCount = "%d word"
+ readingTime = "%d min read"
+
[copyright]
author = "Author"
lastMod = "LastMod"