I’m working on my first multi-lingual website with Hugo. These are my language settings:
defaultContentLanguage = "nl" defaultContentLanguageInSubDir = true [languages] [languages.nl] languageName = "Nederlands" contentDir = "content/nl" [languages.en] languageName = "English" contentDir = "content/en"
Here’s the problem: I have no root static directory. That means files I put into
end up in
Is there a way to still use a multi-lingual setup with Hugo where each language has its own subfolder, but still be able to place files at the website root folder?
Because currently I cannot upload the proper
robots.txt file since it gets the wrong location.
hugo env Hugo Static Site Generator v0.51/extended windows/amd64 BuildDate: unknown GOOS="windows" GOARCH="amd64" GOVERSION="go1.11"