When using following configuration (config.yaml) for custom (json) output and site languages:
outputs: home: - HTML - JSON languages: en: languageName: EN weight: 1 x1: languageName: X1_LANG weight: 2 x2: languageName: X2_LANG weight: 3
accessing the addres http://localhost:1313/en/index.json returns “404 page not found” error, instead of making a fallback to http://localhost:1313/index.json which works (the way it works for standard html pages). All other languages work (localhost:1313/xx/index.json).
json output is defined in _default/list.json template.
I tried also a dedicated content/folder/_index.md file with frontmatter outputs definition as above, but that was even worse - only the default ‘en’ language was available.
Although I am able to workaround the first case - both seem bug candidates for me. Or…?