luizdepra / hugo-coder

A minimalist blog theme for hugo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Howto multilanguage?

freekvh opened this issue · comments

Your question

First: Great theme, thank you.

Second: Hi, I'm finding some conflicting information wrt creating a multilanguage website, you link to https://gohugo.io/content-management/multilingual/ which suggests making to folders (for me, content/en and content/nl), I prefer this method. However, your exampleSite does it differently, by making files with language codes in them (see ie https://github.com/felixhollitzer/hugo-coder-theme/blob/main/exampleSite/content/about.pt-br.md).

Is there a way to use the first method (with the folders)?

I got your example method working now, perhaps that is also ok. I'll close this issue.