Single language configuration #1483
-
|
I'm new to Hugo, and wanting to utilize Hinode for a site of mine that will only be written in one language. I updated the Items from I'm clearly missing something here and would just like a little guidance on what I'm doing wrong. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You may have to adjust [en]
languageName = "English"
contentDir = "content"
weight = 1The Hinode repository contains two site examples. You might want to take a look at each configuration.
|
Beta Was this translation helpful? Give feedback.
You may have to adjust
contentDirin your language configuration too, seeconfig/_default/languages.toml. The following configuation tells Hugo to use thecontentdir (without theensubfolder):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/.