Lektor-i18n Plugin unable to generate contents+<LANGUAGE>.lr file properly
Here's a rundown of what has been done so far:
- Integrated the necessary code into the Snowflake website as per the requirements of Lektor i18n plugin.
Issue:
Upon running the lektor build command, contents+<LANGUAGE>.lr file generated up for the main page. However, for its sub-section pages not getting generated.
The project structure for better context:
- main (Generated)
- landing-page (hidden)
- 01-get-snowflake(Not-generated)
- 02-use-snowflake (Not-generated)
- 03-donate-bandwidth (Not-generated)
- 04-faqs (Not-generated)
- landing-page (hidden)
contents.lr (generated only for the main page) I've configured the model to use a single-page setup. Consequently, the landing page is hidden, and I'm accessing the sections' pages directly. This approach is aimed at avoiding the generation of separate links for each section.
I realized that contents+<LANGUAGE>.lr isn't being generated because the "landing-page" is hidden. This stops the plugin from working on subsections.