So I got bit by a hard coded .Site.Menus.main that I forgot to check for nil. Since the hugoThemes demo site seems not to have a “main” menu my theme test using the showcase’s testing script failed. That’s not the real question though.
The reason I hard coded “main” is that there is no mainMenu variable, or similar. I think it would be helpful for themes to be able to ‘know’ that the mainMenu should be added to the front page, as is now possible for sections with “mainSections”.
I did notice
So I am wondering if the plan is to eliminate menus except as a legacy feature or for those who wish to manage their menus by hand, but that themes are no longer expected (or wished) to use menus for the themes showcase at the very least?
UPDATE: So I figured out the problem wasn’t hard coding “main” but something else. The question about about a .Site.Param.mainMenu or somesuch I think is still relevant though, I think.