Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/heyeshuang/hugo-theme-tokiwa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Rollins <rollins.joseph+git@gmail.com>2021-04-15 18:36:24 +0300
committerJoseph Rollins <rollins.joseph+git@gmail.com>2021-04-15 18:36:24 +0300
commit0bd7f077982facb19ab713ffe2d9ed7014534c43 (patch)
tree8169a0deca34b7d6e0573f0d5c3e2499084c75df
parent9781081df0ce23b52020916a3bff8e33092c0f1f (diff)
Add postDateFormat to docs and example site config
-rw-r--r--README.md3
-rw-r--r--exampleSite/config.toml1
2 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6e3a882..25d525a 100644
--- a/README.md
+++ b/README.md
@@ -33,6 +33,7 @@ math = true # for introducing $KaTEX$
env = "production" # for Google Analytics and DISQUS.
useChineseFonts = true # for font Noto Serif etc.
bannerFont = "fonts/exampleFont" # custom your own font for the title.
+postDateFormat = "2006-1-2" # override custom date format posts.
[menu]
# Shown in the side menu.
@@ -101,4 +102,4 @@ Thanks.
## LICENSE
-MIT \ No newline at end of file
+MIT
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 8e83a89..1932f49 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -28,6 +28,7 @@ favicon = "img/favicon-32x32.png"
fuse = true # for searchbox. "JSON" must added to output contents. See [outputs].
math = true # for introducing $KaTEX$
useChineseFonts = true
+postDateFormat = "2006-1-2"
[menu]
# Shown in the side menu.