Thanks, Andrea and Erik. The idea is to have the subdomains function like sections, so that the navbar shows the subdomain at the top and the pages within underneath, then have the subpages indent out to, say, three or more levels. With a dynamically generated solution I wouldn’t have to tinker with the navbar code every time I add a page or move something around.