mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-27 04:03:48 +01:00
feat(config): add hasCJKLanguage
parameter (#360)
This commit is contained in:
parent
66bd8a2997
commit
7845f5dfe7
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@ googleAnalytics:
|
||||||
# Available values: en, fr, id, ja, ko, pt-br, zh-cn, es, de, nl, it
|
# Available values: en, fr, id, ja, ko, pt-br, zh-cn, es, de, nl, it
|
||||||
DefaultContentLanguage: en
|
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:
|
permalinks:
|
||||||
post: /p/:slug/
|
post: /p/:slug/
|
||||||
page: /:slug/
|
page: /:slug/
|
||||||
|
|
Loading…
Reference in a new issue