You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When visiting the "blog" section page on the English site, the language switcher indicates that there is a Japanese translation, which is (obviously) just an empty page.
Another way in which this causes problems is that templates can fail due to missing data on pages that weren't intended to build, nor have content.
For instance, I discovered this due to a template rendering data from the frontmatter, but since it was attempting to build for all defined languages, it was throwing errors. This is resolvable by wrapping in a with or if block, but if for some reason I wanted it to fail in the absence of data for actual content pages, this would be undesirable.
Not sure if this is a bug, but the result is different (undesirable) when comparing v0.123.7 to v0.122.0.
Scenario
Expected (v0.122.0)
Actual (v0.123.6)
Why is this a problem?
When visiting the "blog" section page on the English site, the language switcher indicates that there is a Japanese translation, which is (obviously) just an empty page.
Test case
test case
Reference: https://discourse.gohugo.io/t/hugo-attempting-to-build-pages-on-multilingual-site-for-languages-with-no-content/48561/4
The text was updated successfully, but these errors were encountered: