code: function buildSubmenu(level) {
  	let menu = [];
  
  	/* Move up to second level */
  	let current = level;
  	while(current.parent && current.parent.parent) {
  		current = current.parent;
  	}
  
  	if(current.content === '') {
  		/* Add children if toplevel is empty */
  		menu.push(...current.children);
  	} else {
  		/* Add toplevel if not */
  		menu.push(current);
  	}
  
  	/* Return an empty menu if we have only a single entry without children or are toplevel*/
  	return (!current.parent || (menu.length === 1 && menu[0].children.length === 0)) ? [] : menu;
  }
docs: /*
  Build the menu structure from a level