UPDATE: Here is the resolution to this post: [solved] Multi Language site not building content
Hugo v0.36 isn’t creating pages from my content folder on a multi-language site after the update from 0.31 -> 0.36
Has something changed? I can’t for the life of me get any of my posts / pages to exist anymore. Everything is bringing back a page that says “Cannot find 404”
Content folder contains files:
When I run hugo
or hugo server
or hugo --buildEverything
, no content created:
Here’s my config with the URL omitted
baseURL = "https://something.pl"
relativeurls = true
defaultContentLanguage = "pl"
defaultContentLanguageInSubdir = true
[languages]
[languages.en]
languageName = "english"
weight = 3
title = "something"
[[languages.en.menu.main]]
url = "/en/about"
name = "About"
weight = 0
[[languages.en.menu.main]]
url = "/en/offer"
name = "Offer"
weight = 10
[[languages.en.menu.main]]
url = "/en/pricelist"
name = "Price list"
weight = 20
[[languages.en.menu.main]]
url = "/en/regulations"
name = "Regulations"
weight = 30
###########################
[languages.no]
languageName = "norsk"
weight = 2
title = "something"
[[languages.no.menu.main]]
url = "/no/om-meg"
name = "Om meg"
weight = 0
[[languages.no.menu.main]]
url = "/no/tilbud"
name = "Tilbud"
weight = 10
[[languages.no.menu.main]]
url = "/no/prisliste"
name = "Prisliste"
weight = 20
[[languages.no.menu.main]]
url = "/no/forskrifter"
name = "Forskrifter"
weight = 30
###########################
[languages.fr]
languageName = "français"
weight = 4
title = "something"
[[languages.fr.menu.main]]
url = "/fr/a-propos-de-moi"
name = "À propos de moi"
weight = 0
[[languages.fr.menu.main]]
url = "/fr/offre"
name = "Offre"
weight = 10
[[languages.fr.menu.main]]
url = "/fr/tarifs"
name = "Tarifs"
weight = 20
[[languages.fr.menu.main]]
url = "/fr/reglement"
name = "Règlement"
weight = 30
###########################
[languages.pl]
languageName = "polsk"
weight = 1
title = "something"
[[languages.pl.menu.main]]
url = "/pl/o-mnie"
name = "O mnie"
weight = 0
[[languages.pl.menu.main]]
url = "/pl/oferta"
name = "Oferta"
weight = 10
[[languages.pl.menu.main]]
url = "/pl/cennik"
name = "Cennik"
weight = 20
[[languages.pl.menu.main]]
url = "/pl/regulamin"
name = "Regulamin"
weight = 30