blog

My blog at www.shimmy1996.com

git clone git://git.shimmy1996.com/blog.git
commit feb3990934800cf6be0be943651c275e73c6cbe8
parent bb4bff76e705b2c82166ef1c724c9b9ab9b20e5c
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sun, 12 Apr 2020 21:39:05 -0500

Adjust summary length

Diffstat:
Mconfig.toml | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/config.toml b/config.toml
@@ -6,6 +6,7 @@ defaultContentLanguage         = "en"
 defaultContentLanguageInSubdir = true
 disableKinds                   = ["taxonomy", "taxonomyTerm"]
 disableHugoGeneratorInject     = true
+hasCJKLanguage                 = true
 
 [author]
 name = "Shimmy Xu"
@@ -32,6 +33,7 @@ posts    = "/posts/:filename/"
   languageName = "English"
   copyright    = "&copy; 2014&ndash;2020 [Shimmy Xu](/en/about/)"
   title        = "Library of Trantor"
+  summaryLength = 50
 
     [[languages.en.menu.main]]
     name   = "Posts"
@@ -46,6 +48,7 @@ posts    = "/posts/:filename/"
   languageName = "中文"
   copyright    = "&copy; 2014&ndash;2020 [Shimmy Xu](/zh/about/)"
   title        = "川陀大学图书室"
+  summaryLength = 25
 
     [[languages.zh.menu.main]]
     name   = "归档"