aboutsummaryrefslogtreecommitdiff
path: root/exampleSite
diff options
context:
space:
mode:
authorSanjay T. Sharma <sanjay.t.sharma@gmail.com>2017-09-24 17:56:55 +0100
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-09-25 00:56:55 +0800
commitab7cdc5d3c20f03b1e22f4c201ba29af06d139cb (patch)
tree72c5097b037064188bfe5deed66bf58c490efa75 /exampleSite
parent271f73a87fe152978daea55e6cfe2a3b6f3530fb (diff)
feat: provide the facility to customize date format (#10)
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index b6c06e9..f98d300 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -51,6 +51,9 @@ copyright = "" # default: author.name ↓ # 默认为下面配
# paginate of archives, tags and categories # 归档、标签、分类每页显示的文章数目
archive-paginate = 3
+
+ # The date format to use; for a list of valid formats, see https://gohugo.io/functions/format/
+ dateFormatToUse = "2006-01-02"
# show word count and read time ? # 是否显示字数统计与阅读时间
moreMeta = false