I just found a typo in a Hugo Documentation page

in this page:Configure Hugo Page
at the Configuration Directory part, there is menus.zh.toml but it should be menus.zh-cn.toml :smile:

This might not be really wrong, because in Hugo you can name your language the way you want. that slug can be everything (klingon, pirate), as long as you define it as language in the configuration. Have a look here:

That little two character part is the first level below the languages section. So pt would be wrong (in the sample in the linked page above), but the other languages are ok with just 2 characters.

@davidsneighbour. Thanks , i forgot it. i have used a theme which all of them were zh-cn. :sweat_smile:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.