Skip to content

Commit

Permalink
feat(config): add hasCJKLanguage parameter (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
QIN2DIM authored Sep 24, 2021
1 parent 66bd8a2 commit 7845f5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions exampleSite/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 7845f5d

Please sign in to comment.