Skip to content
Discussion options

You must be logged in to vote

You may have to adjust contentDir in your language configuration too, see config/_default/languages.toml. The following configuation tells Hugo to use the content dir (without the en subfolder):

[en]
    languageName = "English"
    contentDir = "content"
    weight = 1

The Hinode repository contains two site examples. You might want to take a look at each configuration.

  • npm run start - starts a plain, single-language site without any content. The configuration is defined in /config/.
  • npm run start:example - starts a multi-language site with multiple translated pages. The configuration is defined in /exampleSite/config/.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@thackmaster
Comment options

Answer selected by thackmaster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants