3.9.9 - Navbar unable to find the views when a main layout is used

I’m unable to set up the Navbar when I use a “main” layout for a simple site example:

Link to GitHub repository of my site: Broken site with a “main” layout

It loads okay initially:

But pressing the links breaks it:

Any help would be greatly appreciated.
–Ralf

Community Page
Last updated: