diff options
author | QIN2DIM <62018067+QIN2DIM@users.noreply.github.com> | 2021-09-24 21:22:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 21:22:58 +0300 |
commit | 7845f5dfe73b60e725182bc83fb7800d921e100b (patch) | |
tree | 02f6bc5dd673935b76c59791e55e8956b2b0907a | |
parent | 66bd8a299798b53c78fa4b6b65c5c7256485a029 (diff) |
feat(config): add `hasCJKLanguage` parameter (#360)
-rw-r--r-- | exampleSite/config.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 8139fa4..7b89960 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -14,6 +14,10 @@ googleAnalytics: # Available values: en, fr, id, ja, ko, pt-br, zh-cn, es, de, nl, it DefaultContentLanguage: en +# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko] +# This will make .Summary and .WordCount behave correctly for CJK languages. +hasCJKLanguage: false + permalinks: post: /p/:slug/ page: /:slug/ |