Skip to content

Commit

Permalink
fix: weight is a non-zero integer
Browse files Browse the repository at this point in the history
  • Loading branch information
tomowang committed Dec 16, 2023
1 parent 81e62e5 commit 189d700
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions exampleSite/config/_default/languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,34 @@
languageCode = 'en-US'
languageDirection = 'ltr'
languageName = 'English'
weight = 0
weight = 1
[en.menu]
[[en.menu.main]]
identifier = "post"
name = "Post"
pageRef = "post"
weight = 0
weight = 10

[[en.menu.main]]
identifier = "about"
name = "About"
pageRef = "about"
weight = 10
weight = 20

[zh-cn]
languageCode = 'zh-CN'
languageDirection = 'ltr'
languageName = '中文'
weight = 1
weight = 2
[zh-cn.menu]
[[zh-cn.menu.main]]
identifier = "post"
name = "文章"
pageRef = "post"
weight = 0
weight = 10

[[zh-cn.menu.main]]
identifier = "about"
name = "关于"
pageRef = "about"
weight = 10
weight = 20

0 comments on commit 189d700

Please sign in to comment.