feat(config): add hasCJKLanguage parameter (#360)

This commit is contained in:
QIN2DIM 2021-09-25 02:22:58 +08:00 committed by GitHub
parent 66bd8a2997
commit 7845f5dfe7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/